This commit is contained in:
2026-02-14 00:52:39 +00:00
parent 58c8146cc0
commit 6cc1c98f75
11 changed files with 143 additions and 103 deletions

View File

@@ -0,0 +1,24 @@
{ inputs, modules, ... }:
{
modules.sops = {
nixos =
{ ... }:
{
imports = [
inputs.sops-nix.nixosModules.sops
];
sops = {
# age.keyFile = "/etc/ssh/ssh_host_ed25519_key";
defaultSopsFile = ./server.yaml;
secrets = {
root-hashed_password = {
neededForUsers = true;
};
doloro-hashed_password = {
neededForUsers = true;
};
};
};
};
};
}