I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
967 B

3 years ago
3 years ago
  1. # This file is controlled by /etc/dotfiles/README.org
  2. { config, pkgs, ... }:
  3. {
  4. time.timeZone = "America/Toronto";
  5. networking.hostName = "raspberry";
  6. networking.firewall.enable = false;
  7. networking.networkmanager.enable = true;
  8. networking.interfaces.eth0.useDHCP = true;
  9. networking.interfaces.wlan0.useDHCP = true;
  10. networking.hosts = {
  11. "192.168.3.105" = [ "gamingpc" ];
  12. "192.168.3.163" = [ "acernitro" ];
  13. "192.168.3.182" = [ "raspberry" ];
  14. "192.168.3.183" = [ "homecloud" ];
  15. };
  16. users.users.chris.openssh.authorizedKeys.keys = [
  17. "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO4wka/LfG3pto15DIm9LIRbb6rWr7/ipCRiCdAKSlY4 chris@chrishayward.xyz"
  18. ];
  19. environment.systemPackages = [
  20. pkgs.libraspberrypi
  21. pkgs.raspberrypi-eeprom
  22. ];
  23. programs.fish.enable = true;
  24. programs.gnupg.agent.enable = true;
  25. users.users.chris = {
  26. shell = pkgs.fish;
  27. isNormalUser = true;
  28. extraGroups = [ "wheel" "networkmanager" ];
  29. };
  30. }