feat: add default sops
This commit is contained in:
@@ -177,6 +177,7 @@ in {
|
|||||||
};
|
};
|
||||||
imports = [
|
imports = [
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
|
./sops.nix
|
||||||
./networking
|
./networking
|
||||||
./updns
|
./updns
|
||||||
./home-assistant
|
./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" ];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user