sops nix configured
This commit is contained in:
parent
3d0bd56fe8
commit
db022df80b
9 changed files with 143 additions and 27 deletions
|
|
@ -6,6 +6,13 @@
|
|||
enable = true;
|
||||
settings.PasswordAuthentication = false;
|
||||
};
|
||||
sops = {
|
||||
secrets.awg1-spec = {};
|
||||
templates.awg1-conf.content = ''
|
||||
${config.sops.placeholder.awg-obf}
|
||||
${config.sops.placeholder.awg1-spec}
|
||||
'';
|
||||
};
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /root/backup/server"
|
||||
"L /root/backup/server/http - - - - /srv/http"
|
||||
|
|
@ -32,8 +39,8 @@
|
|||
allowedTCPPorts = [ 25 80 443 465 993 ];
|
||||
};
|
||||
wg-quick.interfaces.awg0 = {
|
||||
configFile = "/secrets/awg/1.conf";
|
||||
address = [ "10.0.0.2/32" "fc00::2/128" ];
|
||||
configFile = config.sops.templates.awg1-conf.path;
|
||||
};
|
||||
networkmanager.ensureProfiles.profiles.home-wifi = {
|
||||
wifi.ssid = "bogale_2.4";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue