feat: add default sops
This commit is contained in:
parent
8bdbbcd21c
commit
7cf5515ed9
2 changed files with 9 additions and 0 deletions
|
|
@ -177,6 +177,7 @@ in {
|
|||
};
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./sops.nix
|
||||
./networking
|
||||
./updns
|
||||
./home-assistant
|
||||
|
|
|
|||
8
modules/cloonar-assistant/sops.nix
Normal file
8
modules/cloonar-assistant/sops.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
imports = [
|
||||
"${builtins.fetchTarball "https://github.com/Mic92/sops-nix/archive/127a96f49ddc377be6ba76964411bab11ae27803.tar.gz"}/modules/sops"
|
||||
];
|
||||
|
||||
sops.defaultSopsFile = ./secrets.yaml;
|
||||
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue