From 2a926bea16adf83c7b56480f5a7eda0e4d1fc042 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Sun, 1 Jun 2025 20:25:18 +0200 Subject: [PATCH] System: Update systemd network functions --- system/nixinator/default.nix | 18 ++++++++++++------ system/nixinator/hardware-configuration.nix | 3 --- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/system/nixinator/default.nix b/system/nixinator/default.nix index b7d6bd25..7ae76ec4 100644 --- a/system/nixinator/default.nix +++ b/system/nixinator/default.nix @@ -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 = { diff --git a/system/nixinator/hardware-configuration.nix b/system/nixinator/hardware-configuration.nix index 3f22b2b7..a902885b 100644 --- a/system/nixinator/hardware-configuration.nix +++ b/system/nixinator/hardware-configuration.nix @@ -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