mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Modularize locations of sops files
This commit is contained in:
parent
ce62cdff75
commit
8d75ce65d6
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@
|
||||||
config = lib.mkIf config.myConfig.sops.enable {
|
config = lib.mkIf config.myConfig.sops.enable {
|
||||||
sops = {
|
sops = {
|
||||||
age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
|
age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
|
||||||
defaultSopsFile = ../../hosts/dell-laptop/secrets.yaml;
|
defaultSopsFile = "${inputs.self}/hosts/${config.networking.hostName}/secrets.yaml";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue