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.

46 lines
1.3 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.136" = [ "acernitro" ];
  17. "192.168.3.163" = [ "acernitro_" ];
  18. "192.168.3.182" = [ "raspberry" ];
  19. "192.168.3.123" = [ "raspberry_" ];
  20. "192.168.3.183" = [ "homecloud" ];
  21. # "" = [ "homecloud_" ];
  22. # "" = [ "zero-one" ];
  23. # "" = [ "zero-two" ];
  24. # "" = [ "android" ];
  25. };
  26. users.users.chris.openssh.authorizedKeys.keys = [
  27. "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO4wka/LfG3pto15DIm9LIRbb6rWr7/ipCRiCdAKSlY4 chris@chrishayward.xyz"
  28. ];
  29. environment.systemPackages = [
  30. pkgs.libraspberrypi
  31. pkgs.raspberrypi-eeprom
  32. ];
  33. programs.fish.enable = true;
  34. programs.mtr.enable = true;
  35. users.users.chris = {
  36. shell = pkgs.fish;
  37. isNormalUser = true;
  38. extraGroups = [ "wheel" "networkmanager" ];
  39. };
  40. }