sopt-nix units restarting, secrets reroll
This commit is contained in:
parent
dae7248c69
commit
1003fc258d
11 changed files with 38 additions and 28 deletions
|
|
@ -74,13 +74,20 @@
|
|||
};
|
||||
sops = {
|
||||
secrets = {
|
||||
awg2-spec = { };
|
||||
bogale-passwd = { };
|
||||
awg2-spec.restartUnits = [ "wg-quick-awg0.service" ];
|
||||
awg3-spec = { };
|
||||
bogale-passwd.neededForUsers = true;
|
||||
};
|
||||
templates = {
|
||||
awg2-conf.content = ''
|
||||
${config.sops.placeholder.awg-obf}
|
||||
${config.sops.placeholder.awg2-spec}
|
||||
'';
|
||||
awg3-conf.content = ''
|
||||
${config.sops.placeholder.awg-obf}
|
||||
${config.sops.placeholder.awg3-spec}
|
||||
'';
|
||||
};
|
||||
templates.awg2-conf.content = ''
|
||||
${config.sops.placeholder.awg-obf}
|
||||
${config.sops.placeholder.awg2-spec}
|
||||
'';
|
||||
};
|
||||
users.users.bogale = {
|
||||
extraGroups = [
|
||||
|
|
@ -90,7 +97,6 @@
|
|||
];
|
||||
hashedPasswordFile = config.sops.secrets.bogale-passwd.path;
|
||||
isNormalUser = true;
|
||||
uid = 1551;
|
||||
};
|
||||
virtualisation = {
|
||||
libvirtd = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue