System: Update systemd network functions
This commit is contained in:
@ -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 = {
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user