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.

44 lines
1.2 KiB

3 years ago
3 years ago
3 years ago
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 = "homecloud";
  6. networking.firewall.enable = false;
  7. networking.networkmanager.enable = true;
  8. networking.interfaces.eth0.useDHCP = true;
  9. networking.interfaces.wlan0.useDHCP = true;
  10. networking.wireless.networks.MyWiFi_5C1870.pskRaw =
  11. "409b3c85fef1c5737f284d2f82f20dc6023e41804e862d4fa26265ef8193b326";
  12. networking.hosts = {
  13. "192.168.3.105" = [ "gamingpc" ];
  14. "192.168.3.136" = [ "acernitro" ];
  15. "192.168.3.163" = [ "acernitro_" ];
  16. "192.168.3.182" = [ "raspberry" ];
  17. "192.168.3.123" = [ "raspberry_" ];
  18. "192.168.3.183" = [ "homecloud" ];
  19. # "" = [ "homecloud_" ];
  20. # "" = [ "zero-one" ];
  21. # "" = [ "zero-two" ];
  22. # "" = [ "android" ];
  23. };
  24. users.users.chris.openssh.authorizedKeys.keys = [
  25. "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO4wka/LfG3pto15DIm9LIRbb6rWr7/ipCRiCdAKSlY4 chris@chrishayward.xyz"
  26. ];
  27. environment.systemPackages = [
  28. pkgs.libraspberrypi
  29. pkgs.raspberrypi-eeprom
  30. ];
  31. programs.fish.enable = true;
  32. programs.mtr.enable = true;
  33. users.users.chris = {
  34. shell = pkgs.fish;
  35. isNormalUser = true;
  36. extraGroups = [ "wheel" "networkmanager" ];
  37. };
  38. }