diff --git a/modules/system/sops.nix b/modules/system/sops.nix index 180d176..018258a 100644 --- a/modules/system/sops.nix +++ b/modules/system/sops.nix @@ -12,12 +12,15 @@ in config = lib.mkIf cfg.enable { # enable and configure sops for secrets - sops.defaultSopsFile = ../../secrets/secrets.yaml; - sops.defaultSopsFormat = "yaml"; - - sops.age.keyFile = "/home/blake/.config/sops/age/keys.txt"; + sops = { + defaultSopsFile = ../../secrets/secrets.yaml; + defaultSopsFormat = "yaml"; + age.keyFile = "/home/blake/.config/sops/age/keys.txt"; - #sops.secrets.tailscale_authkey = { }; - sops.secrets."tailscale_authkey" = { owner = "root"; }; + secrets = { + "tailscale_authkey" = { owner = "root"; }; + + }; + }; }; }