mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
Mildly insane argument passing to modules
This commit is contained in:
parent
5254992a3a
commit
03fe49b85a
32 changed files with 134 additions and 164 deletions
|
|
@ -1,13 +1,10 @@
|
|||
{
|
||||
sops-nix,
|
||||
self,
|
||||
_file,
|
||||
}:
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
sops-nix,
|
||||
self',
|
||||
|
||||
}:
|
||||
{
|
||||
imports = [ sops-nix.nixosModules.sops ];
|
||||
|
|
@ -15,9 +12,8 @@
|
|||
config = lib.mkIf (!config.local.sops.disable) {
|
||||
environment.systemPackages = [ pkgs.sops ];
|
||||
sops = {
|
||||
defaultSopsFile = "${self}/hosts/${config.networking.hostName}/secrets.yaml";
|
||||
defaultSopsFile = "${self'}/hosts/${config.networking.hostName}/secrets.yaml";
|
||||
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
};
|
||||
};
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue