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.

50 lines
1.4 KiB

3 years ago
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 = {
  11. MyWiFi_5C1870 = {
  12. priority = 3;
  13. pskRaw = "409b3c85fef1c5737f284d2f82f20dc6023e41804e862d4fa26265ef8193b326";
  14. };
  15. BELL182 = {
  16. priority = 2;
  17. pskRaw = "8b3c114c695c5013bbcf5fc0af781c7872f95c34e2cceb31afa7bfc1adf66245";
  18. };
  19. SM-G975W3034 = {
  20. priority = 1;
  21. pskRaw = "74835d96a98ca2c56ffe4eaf92223f8a555168b59ec2bb22b1e46b2a333adc80";
  22. };
  23. };
  24. networking.hosts = {
  25. "192.168.3.105" = [ "gamingpc" ];
  26. "192.168.3.163" = [ "acernitro" ];
  27. "192.168.3.182" = [ "raspberry" ];
  28. "192.168.3.183" = [ "homecloud" ];
  29. };
  30. users.users.chris.openssh.authorizedKeys.keys = [
  31. "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO4wka/LfG3pto15DIm9LIRbb6rWr7/ipCRiCdAKSlY4 chris@chrishayward.xyz"
  32. ];
  33. environment.systemPackages = [
  34. pkgs.libraspberrypi
  35. pkgs.raspberrypi-eeprom
  36. ];
  37. programs.fish.enable = true;
  38. programs.mtr.enable = true;
  39. users.users.chris = {
  40. shell = pkgs.fish;
  41. isNormalUser = true;
  42. extraGroups = [ "wheel" "networkmanager" ];
  43. };
  44. }