secrets: set owner explicitly

This commit is contained in:
Grigory Shipunov 2022-06-18 14:51:14 +02:00
parent 3f0894f453
commit 7d209f6d03
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
3 changed files with 8 additions and 10 deletions

View file

@ -39,10 +39,7 @@
system = "x86_64-linux";
modules = [
sops-nix.nixosModules.sops
./hosts/cirrus/configuration.nix
./hosts/cirrus/hardware-configuration.nix
./hosts/cirrus/secrets.nix
./hosts/cirrus/wireguard-server.nix
./hosts/cirrus
./modules/basic-tools.nix
];
};
@ -51,10 +48,7 @@
modules = [
sops-nix.nixosModules.sops
microvm.nixosModules.host
./hosts/dishwasher/configuration.nix
./hosts/dishwasher/hardware-configuration.nix
./hosts/dishwasher/oxalab.nix
./hosts/dishwasher/secrets.nix
./hosts/dishwasher
./modules/basic-tools.nix
];
};

View file

@ -4,6 +4,8 @@
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
sops.secrets = {
"wg/oxalab-seckey" = { };
"wg/oxalab-seckey" = {
owner = config.users.users.systemd-network.name;
};
};
}

View file

@ -4,6 +4,8 @@
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
sops.secrets = {
"wg/oxalab-seckey" = { };
"wg/oxalab-seckey" = {
owner = config.users.users.systemd-network.name;
};
};
}