diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-10-12 18:00:07 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-10-12 18:00:07 -0700 |
commit | a157ad4de2f8c51d49cce0a790bd081779056fa4 (patch) | |
tree | b1f0221c98c2016521be25822b4e65557e89cd3f /hosts/arrakis/default.nix | |
parent | 3b639e5ccd56bfdd4936c2aef22f1b8ad0ec2999 (diff) | |
download | nix-a157ad4de2f8c51d49cce0a790bd081779056fa4.tar nix-a157ad4de2f8c51d49cce0a790bd081779056fa4.tar.gz nix-a157ad4de2f8c51d49cce0a790bd081779056fa4.tar.bz2 nix-a157ad4de2f8c51d49cce0a790bd081779056fa4.tar.lz nix-a157ad4de2f8c51d49cce0a790bd081779056fa4.tar.xz nix-a157ad4de2f8c51d49cce0a790bd081779056fa4.tar.zst nix-a157ad4de2f8c51d49cce0a790bd081779056fa4.zip |
Add SOPS and wireless configuration for arrakis
Diffstat (limited to 'hosts/arrakis/default.nix')
-rw-r--r-- | hosts/arrakis/default.nix | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/hosts/arrakis/default.nix b/hosts/arrakis/default.nix index 3ae89c6..9be2392 100644 --- a/hosts/arrakis/default.nix +++ b/hosts/arrakis/default.nix @@ -49,19 +49,28 @@ hostId = "2ae4c89f"; hostName = "arrakis"; nftables.enable = true; + wireless = { + enable = true; + networks = { + "Crystal Palace" = { + pskRaw = "ext:psk_crystal_palace"; + }; + }; + secretsFile = "/run/secrets/wpa_supplicant"; + }; }; services.openssh.settings.X11Forwarding = true; services.xserver.videoDrivers = [ "nvidia" ]; - #sops = { - # age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; - # defaultSopsFile = ../secrets/arrakis.yaml; + sops = { + age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; + defaultSopsFile = ../secrets/arrakis.yaml; - # secrets = { - # "nftables/ssh" = {}; - # }; - #}; + secrets = { + "wpa_supplicant" = {}; + }; + }; system.stateVersion = "23.11"; |