networking stuff

This commit is contained in:
Rouven Seifert 2023-04-12 15:05:15 +02:00
parent a20844be17
commit 2fe684269a
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
5 changed files with 10 additions and 4 deletions

View file

@ -143,11 +143,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1681219712, "lastModified": 1681301498,
"narHash": "sha256-rt0O9aVZhE1J6u+v19/blAqzl8VxyNLgOymfuHj1rkI=", "narHash": "sha256-GVp3UML9MI6gd9RK3Mjkype7/leDfEuWIkou59Iv8Sk=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "c2f29be9baccd14ced62105f0fc07e34e6f4fd29", "rev": "a68feb5aa09264beee57a88ee85aefb89680db3b",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -6,6 +6,7 @@
}; };
systemd.network = { systemd.network = {
enable = true; enable = true;
enableIPv6 = true;
networks."10-loopback" = { networks."10-loopback" = {
matchConfig.Name = "lo"; matchConfig.Name = "lo";
linkConfig.RequiredForOnline = false; linkConfig.RequiredForOnline = false;

View file

@ -13,6 +13,7 @@
}; };
networking = { useNetworkd = true; networking = { useNetworkd = true;
hostName = "thinkpad"; hostName = "thinkpad";
enableIPv6 = true;
wireless = { wireless = {
enable = true; enable = true;
userControlled.enable = true; userControlled.enable = true;
@ -68,10 +69,13 @@
networkConfig = { networkConfig = {
DHCP = "yes"; DHCP = "yes";
IgnoreCarrierLoss = "3s"; IgnoreCarrierLoss = "3s";
IPv6AcceptRA = "yes";
#IPv6PrefixDelegation = "dhcpv6";
}; };
dhcpV4Config = { dhcpV4Config = {
RouteMetric = 20; RouteMetric = 20;
}; };
}; };
# some wireguard interfaces # some wireguard interfaces

View file

@ -52,6 +52,7 @@
neofetch # obligatory neofetch # obligatory
virt-manager virt-manager
ventoy-bin ventoy-bin
xsane # scanning
trash-cli # better rm trash-cli # better rm
ripgrep # better grep ripgrep # better grep

View file

@ -13,7 +13,7 @@ in
identityFile = git; identityFile = git;
}; };
"rfive.de" = { "rfive.de" = {
user = "debian"; user = "root";
}; };
"kaki" = { "kaki" = {
hostname = "kaki.ifsr.de"; hostname = "kaki.ifsr.de";