forked from Fachschaft/nixConfig
[#5] adding sops support
This commit is contained in:
parent
22552bd095
commit
cf537f3c7b
6 changed files with 89 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
|||
pkgs.nixos {
|
||||
imports = [
|
||||
(import (./. + "/machines/${name}/configuration.nix") inputs)
|
||||
# inputs.secrets.nixosModules.default
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
];
|
||||
};
|
||||
in lib.genAttrs machines makeSystem);
|
||||
|
|
4
nixos/roles/default.nix
Normal file
4
nixos/roles/default.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{ ... } : {
|
||||
|
||||
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue