diff --git a/nixosModules/server/miniflux.nix b/nixosModules/server/miniflux.nix index af17177..67103cb 100755 --- a/nixosModules/server/miniflux.nix +++ b/nixosModules/server/miniflux.nix @@ -19,10 +19,6 @@ sops.secrets.minifluxenv = { format = "dotenv"; sopsFile = ./secrets/miniflux.env; - # key = null; - # owner = "miniflux"; - # group = "miniflux"; mode = "0650"; - # path = "/run/secrets/miniflux.env"; }; } diff --git a/nixosModules/users.nix b/nixosModules/users.nix index 00fc822..e7ed4be 100755 --- a/nixosModules/users.nix +++ b/nixosModules/users.nix @@ -39,8 +39,6 @@ sshKeyPaths = [ "/etc/ssh/id_ed25519" ]; - # keyFile = "/var/lib/sops-nix/key.txt"; - # generateKey = true; }; defaultSopsFile = ../secrets/default.yaml; secrets = { @@ -58,14 +56,18 @@ }; ssh_key_private = { format = "yaml"; - # sopsFile = ../secrets/default.yaml; key = "ssh_key_private"; - path = "/home/${xlib.device.username}/.ssh/id_ed25519"; owner = config.users.users."${xlib.device.username}".name; group = config.users.users."${xlib.device.username}".group; mode = "0600"; }; + ssh_key_private_host = { + format = "yaml"; + key = "ssh_key_private"; + path = "/etc/ssh/id_ed25519"; + mode = "0600"; + }; ssh_key_public = { format = "yaml"; key = "ssh_key_public";