parent
c06b0a6e9d
commit
8de70fe92c
9 changed files with 92 additions and 10 deletions
hosts/home-pc
|
@ -1,4 +1,4 @@
|
|||
{ lib, ... }:
|
||||
{ inputs, config, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -20,8 +20,14 @@
|
|||
../../services/restic/home-pc.nix
|
||||
../../services/pcscd.nix
|
||||
../../services/open-webui.nix
|
||||
inputs.seven-modules.nixosModules.seven
|
||||
];
|
||||
|
||||
age.secrets.wireguard-seven-home-pc-key = {
|
||||
file = ../../secrets/wireguard/seven/home-pc.key.age;
|
||||
owner = "systemd-network";
|
||||
};
|
||||
|
||||
boot.loader.systemd-boot.memtest86.enable = true;
|
||||
|
||||
# running binaries for other architectures
|
||||
|
@ -54,6 +60,17 @@
|
|||
"87.98.162.88" = [ "portcheck.transmissionbt.com" ];
|
||||
};
|
||||
|
||||
seven = {
|
||||
enable = true;
|
||||
wireguard = {
|
||||
addresses = [
|
||||
"198.18.1.239/15"
|
||||
"fd00:5ec::1ef/48"
|
||||
];
|
||||
privateKeyFile = config.age.secrets.wireguard-seven-home-pc-key.path;
|
||||
};
|
||||
};
|
||||
|
||||
systemd.notify.enable = true;
|
||||
systemd.notify.method = "libnotify";
|
||||
systemd.notify.libnotify.user = "felschr";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue