configured sops-nix

This commit is contained in:
Bryan Ramos 2025-07-15 01:54:01 -04:00
parent a9843c9089
commit beb00a5718
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
4 changed files with 62 additions and 4 deletions

View file

@ -19,11 +19,13 @@
};
};
users.mutableUsers = false;
users.users = {
"${config.user.name}" = {
isNormalUser = true;
extraGroups = config.user.groups;
openssh.authorizedKeys.keys = [ "${config.user.keys.ssh.primary}" ];
password = "123";
};
};
@ -114,4 +116,17 @@
PasswordAuthentication = false;
};
};
sops = {
defaultSopsFile = ./secrets.yaml;
defaultSopsFormat = "yaml";
age = {
keyFile = "/var/lib/sops-nix/key.txt";
generateKey = true;
};
secrets = {
camera_user = {};
camera_pass = {};
};
};
}