System: Update systemd network functions
This commit is contained in:
@ -16,16 +16,16 @@
|
|||||||
# This should override the default network 50-ether
|
# This should override the default network 50-ether
|
||||||
"10-ether-2_5G" = mylib.networking.mkStaticSystemdNetwork {
|
"10-ether-2_5G" = mylib.networking.mkStaticSystemdNetwork {
|
||||||
interface = "enp8s0";
|
interface = "enp8s0";
|
||||||
ip = ["192.168.86.50/24" "fd00::32/120"];
|
ips = ["192.168.86.50/24" "fd00::32/120"];
|
||||||
router = ["192.168.86.5" "fd00::5"];
|
routers = ["192.168.86.5" "fd00::5"];
|
||||||
nameserver = ["192.168.86.26" "fd00::1a"];
|
nameservers = ["192.168.86.26" "fd00::1a"];
|
||||||
routable = true;
|
routable = true;
|
||||||
};
|
};
|
||||||
"10-ether-1G" = mylib.networking.mkStaticSystemdNetwork {
|
"10-ether-1G" = mylib.networking.mkStaticSystemdNetwork {
|
||||||
interface = "enp5s0";
|
interface = "enp5s0";
|
||||||
ip = ["192.168.86.50/24" "fd00::32/120"];
|
ips = ["192.168.86.50/24" "fd00::32/120"];
|
||||||
router = ["192.168.86.5" "fd00::5"];
|
routers = ["192.168.86.5" "fd00::5"];
|
||||||
nameserver = ["192.168.86.26" "fd00::1a"];
|
nameservers = ["192.168.86.26" "fd00::1a"];
|
||||||
routable = false;
|
routable = false;
|
||||||
};
|
};
|
||||||
# "10-ether-1G" = mylib.networking.mkStaticSystemdNetwork {...};
|
# "10-ether-1G" = mylib.networking.mkStaticSystemdNetwork {...};
|
||||||
@ -98,6 +98,12 @@
|
|||||||
videoDrivers = ["nvidia"]; # NVIDIA
|
videoDrivers = ["nvidia"]; # NVIDIA
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
gamemode = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# This has been relocated here from the default config,
|
# This has been relocated here from the default config,
|
||||||
# because it forces en-US keyboard layout.
|
# because it forces en-US keyboard layout.
|
||||||
i18n.inputMethod = {
|
i18n.inputMethod = {
|
||||||
|
@ -87,9 +87,6 @@
|
|||||||
# video.hidpi.enable = lib.mkDefault true; # No longer has any effect
|
# video.hidpi.enable = lib.mkDefault true; # No longer has any effect
|
||||||
graphics = {
|
graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
# Vulkan
|
|
||||||
# driSupport = true; # NOTE: Deprecated
|
|
||||||
enable32Bit = true;
|
enable32Bit = true;
|
||||||
|
|
||||||
# AMD: https://nixos.wiki/wiki/AMD_GPU
|
# AMD: https://nixos.wiki/wiki/AMD_GPU
|
||||||
|
Reference in New Issue
Block a user