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.

40 lines
1.2 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.pskRaw = "409b3c85fef1c5737f284d2f82f20dc6023e41804e862d4fa26265ef8193b326";
  12. SM-G975W3034.pskRaw = "74835d96a98ca2c56ffe4eaf92223f8a555168b59ec2bb22b1e46b2a333adc80";
  13. };
  14. networking.hosts = {
  15. "192.168.3.105" = [ "gamingpc" ];
  16. "192.168.3.163" = [ "acernitro" ];
  17. "192.168.3.182" = [ "raspberry" ];
  18. "192.168.3.183" = [ "homecloud" ];
  19. };
  20. users.users.chris.openssh.authorizedKeys.keys = [
  21. "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO4wka/LfG3pto15DIm9LIRbb6rWr7/ipCRiCdAKSlY4 chris@chrishayward.xyz"
  22. ];
  23. environment.systemPackages = [
  24. pkgs.libraspberrypi
  25. pkgs.raspberrypi-eeprom
  26. ];
  27. programs.fish.enable = true;
  28. programs.mtr.enable = true;
  29. users.users.chris = {
  30. shell = pkgs.fish;
  31. isNormalUser = true;
  32. extraGroups = [ "wheel" "networkmanager" ];
  33. };
  34. }