From a157ad4de2f8c51d49cce0a790bd081779056fa4 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sat, 12 Oct 2024 18:00:07 -0700 Subject: Add SOPS and wireless configuration for arrakis --- hosts/arrakis/default.nix | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'hosts/arrakis/default.nix') 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"; -- cgit v1.2.3