From 2fe684269a3ce249286a402f8071a987bb9aa89d Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Wed, 12 Apr 2023 15:05:15 +0200 Subject: [PATCH] networking stuff --- flake.lock | 6 +++--- hosts/nuc/modules/networks/default.nix | 1 + hosts/thinkpad/modules/networks/default.nix | 4 ++++ users/rouven/modules/packages.nix | 1 + users/rouven/modules/ssh/default.nix | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 968f454..d28f030 100644 --- a/flake.lock +++ b/flake.lock @@ -143,11 +143,11 @@ ] }, "locked": { - "lastModified": 1681219712, - "narHash": "sha256-rt0O9aVZhE1J6u+v19/blAqzl8VxyNLgOymfuHj1rkI=", + "lastModified": 1681301498, + "narHash": "sha256-GVp3UML9MI6gd9RK3Mjkype7/leDfEuWIkou59Iv8Sk=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "c2f29be9baccd14ced62105f0fc07e34e6f4fd29", + "rev": "a68feb5aa09264beee57a88ee85aefb89680db3b", "type": "github" }, "original": { diff --git a/hosts/nuc/modules/networks/default.nix b/hosts/nuc/modules/networks/default.nix index bf04a5f..d45f025 100644 --- a/hosts/nuc/modules/networks/default.nix +++ b/hosts/nuc/modules/networks/default.nix @@ -6,6 +6,7 @@ }; systemd.network = { enable = true; + enableIPv6 = true; networks."10-loopback" = { matchConfig.Name = "lo"; linkConfig.RequiredForOnline = false; diff --git a/hosts/thinkpad/modules/networks/default.nix b/hosts/thinkpad/modules/networks/default.nix index da7fa4c..756a166 100644 --- a/hosts/thinkpad/modules/networks/default.nix +++ b/hosts/thinkpad/modules/networks/default.nix @@ -13,6 +13,7 @@ }; networking = { useNetworkd = true; hostName = "thinkpad"; + enableIPv6 = true; wireless = { enable = true; userControlled.enable = true; @@ -68,10 +69,13 @@ networkConfig = { DHCP = "yes"; IgnoreCarrierLoss = "3s"; + IPv6AcceptRA = "yes"; + #IPv6PrefixDelegation = "dhcpv6"; }; dhcpV4Config = { RouteMetric = 20; }; + }; # some wireguard interfaces diff --git a/users/rouven/modules/packages.nix b/users/rouven/modules/packages.nix index 53331b5..238e14b 100644 --- a/users/rouven/modules/packages.nix +++ b/users/rouven/modules/packages.nix @@ -52,6 +52,7 @@ neofetch # obligatory virt-manager ventoy-bin + xsane # scanning trash-cli # better rm ripgrep # better grep diff --git a/users/rouven/modules/ssh/default.nix b/users/rouven/modules/ssh/default.nix index e23ef57..dad7897 100644 --- a/users/rouven/modules/ssh/default.nix +++ b/users/rouven/modules/ssh/default.nix @@ -13,7 +13,7 @@ in identityFile = git; }; "rfive.de" = { - user = "debian"; + user = "root"; }; "kaki" = { hostname = "kaki.ifsr.de";