1

System: Update systemd network functions

This commit is contained in:
2025-06-01 20:25:18 +02:00
parent 0e8e2fae2e
commit 2a926bea16
2 changed files with 12 additions and 9 deletions

View File

@ -16,16 +16,16 @@
# This should override the default network 50-ether
"10-ether-2_5G" = mylib.networking.mkStaticSystemdNetwork {
interface = "enp8s0";
ip = ["192.168.86.50/24" "fd00::32/120"];
router = ["192.168.86.5" "fd00::5"];
nameserver = ["192.168.86.26" "fd00::1a"];
ips = ["192.168.86.50/24" "fd00::32/120"];
routers = ["192.168.86.5" "fd00::5"];
nameservers = ["192.168.86.26" "fd00::1a"];
routable = true;
};
"10-ether-1G" = mylib.networking.mkStaticSystemdNetwork {
interface = "enp5s0";
ip = ["192.168.86.50/24" "fd00::32/120"];
router = ["192.168.86.5" "fd00::5"];
nameserver = ["192.168.86.26" "fd00::1a"];
ips = ["192.168.86.50/24" "fd00::32/120"];
routers = ["192.168.86.5" "fd00::5"];
nameservers = ["192.168.86.26" "fd00::1a"];
routable = false;
};
# "10-ether-1G" = mylib.networking.mkStaticSystemdNetwork {...};
@ -98,6 +98,12 @@
videoDrivers = ["nvidia"]; # NVIDIA
};
programs = {
gamemode = {
enable = true;
};
};
# This has been relocated here from the default config,
# because it forces en-US keyboard layout.
i18n.inputMethod = {

View File

@ -87,9 +87,6 @@
# video.hidpi.enable = lib.mkDefault true; # No longer has any effect
graphics = {
enable = true;
# Vulkan
# driSupport = true; # NOTE: Deprecated
enable32Bit = true;
# AMD: https://nixos.wiki/wiki/AMD_GPU