nixos/hosts/cl-00-00/system/configuration/sops.nix
dokkae.cat eb7d6c146f feat: forgejo runner
Added a forgejo runner and extracted monolith file into folder/sub-folder
2026-01-11 20:52:16 +00:00

30 lines
520 B
Nix
Executable file

{ inputs
, ...
}:
{
imports = [
inputs.sops-nix.nixosModules.sops
];
sops = {
defaultSopsFile = ../../secrets/default.yaml;
defaultSopsFormat = "yaml";
gnupg.sshKeyPaths = [ ];
age.sshKeyPaths = [
"/persist/etc/ssh/ssh_host_ed25519_key"
];
secrets = {
"users/admin/password_hash" = {
owner = "admin";
neededForUsers = true;
};
"users/kurisu/password_hash" = {
owner = "kurisu";
neededForUsers = true;
};
};
};
}