Compare commits
1 commit
d19b0499b1
...
497384d486
Author | SHA1 | Date | |
---|---|---|---|
497384d486 |
3 changed files with 5 additions and 6 deletions
|
@ -7,7 +7,6 @@
|
||||||
../../modules/syncthing.nix
|
../../modules/syncthing.nix
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
./borg.nix
|
./borg.nix
|
||||||
./network.nix
|
|
||||||
./sway.nix
|
./sway.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
../../modules/server
|
../../modules/server
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
#./borg.nix
|
#./borg.nix
|
||||||
#./network.nix
|
./network.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "sigma";
|
networking.hostName = "sigma";
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
Kind = "wireguard";
|
Kind = "wireguard";
|
||||||
};
|
};
|
||||||
wireguardConfig = {
|
wireguardConfig = {
|
||||||
PrivateKeyFile = config.age.secrets.wireguard-private-key-file-omega.path;
|
PrivateKeyFile = config.age.secrets.wireguard-private-key-file-sigma.path;
|
||||||
};
|
};
|
||||||
wireguardPeers = [
|
wireguardPeers = [
|
||||||
{
|
{
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
Kind = "wireguard";
|
Kind = "wireguard";
|
||||||
};
|
};
|
||||||
wireguardConfig = {
|
wireguardConfig = {
|
||||||
PrivateKeyFile = config.age.secrets.wireguard-private-key-file-omega.path;
|
PrivateKeyFile = config.age.secrets.wireguard-private-key-file-sigma.path;
|
||||||
};
|
};
|
||||||
wireguardPeers = [
|
wireguardPeers = [
|
||||||
{
|
{
|
||||||
|
@ -104,8 +104,8 @@
|
||||||
group = "systemd-network";
|
group = "systemd-network";
|
||||||
};
|
};
|
||||||
|
|
||||||
age.secrets.wireguard-private-key-file-omega = {
|
age.secrets.wireguard-private-key-file-sigma = {
|
||||||
file = "${secrets}/secrets/wireguard-private-key-file-omega.age";
|
file = "${secrets}/secrets/wireguard-private-key-file-sigma.age";
|
||||||
mode = "640";
|
mode = "640";
|
||||||
owner = "root";
|
owner = "root";
|
||||||
group = "systemd-network";
|
group = "systemd-network";
|
Loading…
Reference in a new issue