This commit is contained in:
Filippo Berto 2024-11-21 14:54:37 +01:00
parent 7d6e2dd76f
commit 808ceebbda
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056

View file

@ -5,11 +5,11 @@
}: }:
{ {
age.secrets = { age.secrets = {
ntfy-odin = { ntfy-sif = {
file = ../../secrets/ntfy-odin.age; file = ../../secrets/ntfy-odin.age;
owner = "bertof"; owner = "bertof";
}; };
odin_wg_priv.file = ../../secrets/odin_wg_priv.age; sif.file = ../../secrets/odin_wg_priv.age;
}; };
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
@ -50,7 +50,7 @@
}; };
networking = { networking = {
hostName = "odin"; hostName = "sif";
networkmanager.enable = true; networkmanager.enable = true;
# networkmanager.wifi.backend = "iwd"; # networkmanager.wifi.backend = "iwd";
@ -69,7 +69,7 @@
# autostart = false; # autostart = false;
# address = [ "10.0.0.2/24" "fdc9:281f:04d7:9ee9::2/64" ]; # address = [ "10.0.0.2/24" "fdc9:281f:04d7:9ee9::2/64" ];
# dns = [ "10.0.0.1" "fdc9:281f:04d7:9ee9::1" ]; # dns = [ "10.0.0.1" "fdc9:281f:04d7:9ee9::1" ];
# privateKeyFile = config.age.secrets.odin_wg_priv.path; # privateKeyFile = config.age.secrets.sif.path;
# peers = [ # peers = [
# { # {
@ -81,7 +81,7 @@
# publicKey = "K57ikgFSR1O0CXWBxfQEu7uxSOsp3ePj/NMRets5pVc="; # publicKey = "K57ikgFSR1O0CXWBxfQEu7uxSOsp3ePj/NMRets5pVc=";
# } # }
# { # {
# # odin # # sif
# publicKey = "LDBhvzeYmHJ0z5ch+N559GWjT3It1gZvGR/9WtCfURw="; # publicKey = "LDBhvzeYmHJ0z5ch+N559GWjT3It1gZvGR/9WtCfURw=";
# presharedKeyFile = config.age.secrets.wg_psk.path; # presharedKeyFile = config.age.secrets.wg_psk.path;
# allowedIPs = [ "10.0.0.2/24" "fdc9:281f:04d7:9ee9::2/128" ]; # allowedIPs = [ "10.0.0.2/24" "fdc9:281f:04d7:9ee9::2/128" ];