From 19ecf4423b5e7ba8f4d22a776315bf65a23ce8df Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Fri, 18 Jul 2025 14:47:10 -0500 Subject: cleanup secrets --- modules/root/secrets.nix | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'modules/root/secrets.nix') diff --git a/modules/root/secrets.nix b/modules/root/secrets.nix index 38346b2..416bcde 100644 --- a/modules/root/secrets.nix +++ b/modules/root/secrets.nix @@ -1,18 +1,8 @@ -{ lib, pkgs, inputs, config, userDetails, ... }: { +{ inputs, config, userDetails, ... }: { imports = [ inputs.sops-nix.nixosModules.sops ]; sops = { defaultSopsFormat = "yaml"; age.sshKeyPaths = [ "${userDetails.home}/.ssh/id_ed25519" "/root/.ssh/id_ed25519" ]; - - secrets = { - wpa_supplicant-conf = lib.mkIf config.wifi.enable { - sopsFile = ./resources/secrets/wpa_supplicant-conf.yaml; - }; - hashed-root-password = lib.mkIf config.users.setPassword.enable { - sopsFile = ./resources/secrets/hashed-root-password.yaml; - neededForUsers = true; - }; - }; }; } -- cgit v1.2.3