aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/arrakis/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/arrakis/default.nix')
-rw-r--r--hosts/arrakis/default.nix23
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";