move sigma-{public,p2p} to sigma

This commit is contained in:
Casper V. Kristensen 2024-03-29 20:38:51 +01:00
parent ed5a14a517
commit 497384d486
3 changed files with 5 additions and 6 deletions

View file

@ -7,7 +7,6 @@
../../modules/syncthing.nix
./hardware.nix
./borg.nix
./network.nix
./sway.nix
];

View file

@ -5,7 +5,7 @@
../../modules/server
./hardware.nix
#./borg.nix
#./network.nix
./network.nix
];
networking.hostName = "sigma";

View file

@ -20,7 +20,7 @@
Kind = "wireguard";
};
wireguardConfig = {
PrivateKeyFile = config.age.secrets.wireguard-private-key-file-omega.path;
PrivateKeyFile = config.age.secrets.wireguard-private-key-file-sigma.path;
};
wireguardPeers = [
{
@ -68,7 +68,7 @@
Kind = "wireguard";
};
wireguardConfig = {
PrivateKeyFile = config.age.secrets.wireguard-private-key-file-omega.path;
PrivateKeyFile = config.age.secrets.wireguard-private-key-file-sigma.path;
};
wireguardPeers = [
{
@ -104,8 +104,8 @@
group = "systemd-network";
};
age.secrets.wireguard-private-key-file-omega = {
file = "${secrets}/secrets/wireguard-private-key-file-omega.age";
age.secrets.wireguard-private-key-file-sigma = {
file = "${secrets}/secrets/wireguard-private-key-file-sigma.age";
mode = "640";
owner = "root";
group = "systemd-network";