tohru, orm: tidy up vestigial wireguard config

This commit is contained in:
Katherina Walshe-Grey 2024-07-25 08:05:34 +01:00
parent e90afae7ac
commit b544e127b6
6 changed files with 15 additions and 23 deletions

View file

@ -4,11 +4,17 @@
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./home.nix ./home.nix
./wireguard.nix
]; ];
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
age.secrets.wireguard-peer-orm.file = ../../secrets/wireguard-peer-orm.age;
birdsong.peer = {
enable = true;
privateKeyFile = config.age.secrets.wireguard-peer-orm.path;
};
system.stateVersion = "23.11"; system.stateVersion = "23.11";
} }

View file

@ -1,10 +0,0 @@
{ config, lib, pkgs, ... }:
{
age.secrets.wireguard-hub.file = ../../secrets/wireguard-hub.age;
birdsong.peer = {
enable = true;
privateKeyFile = config.age.secrets.wireguard-hub.path;
};
}

View file

@ -8,13 +8,20 @@
../../services/fonts.nix ../../services/fonts.nix
../../services/steam.nix ../../services/steam.nix
./syncthing.nix ./syncthing.nix
./wireguard.nix
]; ];
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.editor = false; boot.loader.systemd-boot.editor = false;
age.secrets.wireguard-peer-tohru.file = ../../secrets/wireguard-peer-tohru.age;
birdsong.peer = {
enable = true;
privateKeyFile = config.age.secrets.wireguard-peer-tohru.path;
persistentKeepalive = 23;
};
programs.evolution.enable = true; programs.evolution.enable = true;
qenya.services.fonts.enable = true; qenya.services.fonts.enable = true;
qenya.services.steam.enable = true; qenya.services.steam.enable = true;

View file

@ -1,11 +0,0 @@
{ config, lib, pkgs, ... }:
{
age.secrets.wireguard-peer-tohru.file = ../../secrets/wireguard-peer-tohru.age;
birdsong.peer = {
enable = true;
privateKeyFile = config.age.secrets.wireguard-peer-tohru.path;
persistentKeepalive = 23;
};
}