secrets: set owner explicitly
This commit is contained in:
parent
3f0894f453
commit
7d209f6d03
3 changed files with 8 additions and 10 deletions
10
flake.nix
10
flake.nix
|
@ -39,10 +39,7 @@
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
./hosts/cirrus/configuration.nix
|
./hosts/cirrus
|
||||||
./hosts/cirrus/hardware-configuration.nix
|
|
||||||
./hosts/cirrus/secrets.nix
|
|
||||||
./hosts/cirrus/wireguard-server.nix
|
|
||||||
./modules/basic-tools.nix
|
./modules/basic-tools.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -51,10 +48,7 @@
|
||||||
modules = [
|
modules = [
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
microvm.nixosModules.host
|
microvm.nixosModules.host
|
||||||
./hosts/dishwasher/configuration.nix
|
./hosts/dishwasher
|
||||||
./hosts/dishwasher/hardware-configuration.nix
|
|
||||||
./hosts/dishwasher/oxalab.nix
|
|
||||||
./hosts/dishwasher/secrets.nix
|
|
||||||
./modules/basic-tools.nix
|
./modules/basic-tools.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||||
|
|
||||||
sops.secrets = {
|
sops.secrets = {
|
||||||
"wg/oxalab-seckey" = { };
|
"wg/oxalab-seckey" = {
|
||||||
|
owner = config.users.users.systemd-network.name;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||||
|
|
||||||
sops.secrets = {
|
sops.secrets = {
|
||||||
"wg/oxalab-seckey" = { };
|
"wg/oxalab-seckey" = {
|
||||||
|
owner = config.users.users.systemd-network.name;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue