diff --git a/hosts/msi-rtx4090/default.nix b/hosts/msi-rtx4090/default.nix index c527848b..6ef125d2 100644 --- a/hosts/msi-rtx4090/default.nix +++ b/hosts/msi-rtx4090/default.nix @@ -33,7 +33,9 @@ # proxy.noProxy = "127.0.0.1,localhost,internal.domain"; networkmanager.enable = true; - interfaces.ens18 = { + + enableIPv6 = false; # disable ipv6 + interfaces.enp5s0 = { useDHCP = false; ipv4.addresses = [ { address = "192.168.5.66"; @@ -41,6 +43,10 @@ } ]; }; defaultGateway = "192.168.5.201"; + nameservers = [ + "119.29.29.29" # DNSPod + "223.5.5.5" # AliDNS + ]; }; diff --git a/hosts/msi-rtx4090/hardware-configuration.nix b/hosts/msi-rtx4090/hardware-configuration.nix index 5bbe9771..7cad98f7 100644 --- a/hosts/msi-rtx4090/hardware-configuration.nix +++ b/hosts/msi-rtx4090/hardware-configuration.nix @@ -8,23 +8,24 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "uas" "usb_storage" "sd_mod" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/9730ef67-577c-4dc9-8563-f431c1cf25fb"; - fsType = "ext4"; + { device = "/dev/disk/by-uuid/231466f6-cdf3-40e1-b9d2-6b4e8d10a4d3"; + fsType = "btrfs"; + options = [ "subvol=@" ]; }; fileSystems."/boot/efi" = - { device = "/dev/disk/by-uuid/8DA9-86FF"; + { device = "/dev/disk/by-uuid/87ED-8B2E"; fsType = "vfat"; }; swapDevices = - [ { device = "/dev/disk/by-uuid/5364261a-3ecc-4754-b114-ff44c529627e"; } + [ { device = "/dev/disk/by-uuid/17391ca0-8cdb-4598-a40b-fd9548fd9b37"; } ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking