From 1169873bacfc91733666a58162095861f974076f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Yule=20B=C3=A4dorf?= Date: Thu, 8 Feb 2024 23:29:44 +0100 Subject: [PATCH] networking: remove pie from hosts file, add droppie-initrd --- hosts/pie/unbound.nix | 2 ++ hosts/pie/wake-droppie.nix | 2 +- modules/core/networking.nix | 1 - users/b12f/ssh.nix | 5 +++++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/hosts/pie/unbound.nix b/hosts/pie/unbound.nix index 7a49b33..63cd759 100644 --- a/hosts/pie/unbound.nix +++ b/hosts/pie/unbound.nix @@ -68,6 +68,8 @@ "\"pie.local. 10800 IN A 192.168.178.2\"" "\"pie.local. 10800 IN AAAA 2a02:908:5b1:e3c0:2::\"" + "\"droppie-initrd.b12f.io. 10800 IN A 192.168.178.3\"" + "\"fritz.box. 10800 IN A 192.168.178.1\"" "\"fritz.box. 10800 IN AAAA fd00::3ea6:2fff:fe57:30b0\"" ]; diff --git a/hosts/pie/wake-droppie.nix b/hosts/pie/wake-droppie.nix index 992ac9b..8fc7bce 100644 --- a/hosts/pie/wake-droppie.nix +++ b/hosts/pie/wake-droppie.nix @@ -1,7 +1,7 @@ { pkgs, ... }: { services.cron = { - enable = true; + enable = false; systemCronJobs = [ "30 1 * * * root ${pkgs.wakeonlan}/bin/wakeonlan 08:f1:ea:97:0f:0c" ]; diff --git a/modules/core/networking.nix b/modules/core/networking.nix index a81fc77..c0e5e17 100644 --- a/modules/core/networking.nix +++ b/modules/core/networking.nix @@ -12,7 +12,6 @@ networking.hosts = { "128.140.109.213" = [ "vpn.b12f.io" ]; "2a01:4f8:c2c:b60::" = [ "vpn.b12f.io" ]; - "2a02:908:5b1:e3c0:2::" = [ "pie-wg.b12f.io" ]; }; networking.networkmanager = { diff --git a/users/b12f/ssh.nix b/users/b12f/ssh.nix index bd812e6..f3468a9 100644 --- a/users/b12f/ssh.nix +++ b/users/b12f/ssh.nix @@ -116,6 +116,11 @@ in { user = "yule"; }; + "droppie-initrd.b12f.io" = { + user = "root"; + port = 2222; + }; + "nachtigall.pub.solar" = { user = "barkeeper"; };