summaryrefslogtreecommitdiff
path: root/hosts/sol/hardware-configuration.nix
diff options
context:
space:
mode:
authorDominik Kaiser2025-08-22 17:20:11 +0200
committerDominik Kaiser2025-08-22 17:20:11 +0200
commit4e2ff40e438b4e39429fa3b4e456e64e7ecb906e (patch)
tree8d2f9e05b45856b5451f73327f109dfbf5d2e0aa /hosts/sol/hardware-configuration.nix
parent599019c7f411cae5efec36f0c2bed1548698d5f4 (diff)
downloadnixos-main.tar.gz
nixos-main.zip
Reinstall solHEADmain
Diffstat (limited to 'hosts/sol/hardware-configuration.nix')
-rw-r--r--hosts/sol/hardware-configuration.nix19
1 files changed, 11 insertions, 8 deletions
diff --git a/hosts/sol/hardware-configuration.nix b/hosts/sol/hardware-configuration.nix
index 6757831..bae1094 100644
--- a/hosts/sol/hardware-configuration.nix
+++ b/hosts/sol/hardware-configuration.nix
@@ -11,19 +11,17 @@
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" "88x2bu" ];
- boot.extraModulePackages = with config.boot.kernelPackages;[
- rtl88x2bu
- ];
+ boot.extraModulePackages = with config.boot.kernelPackages; [ rtl88x2bu ];
fileSystems."/" =
- { device = "/dev/disk/by-uuid/1c4a2db2-f006-44cb-be89-617e5e27bc37";
+ { device = "/dev/disk/by-uuid/6362f2fc-60c2-4347-a9b4-e534372aa0bd";
fsType = "ext4";
};
fileSystems."/boot" =
- { device = "/dev/disk/by-uuid/FD99-9793";
+ { device = "/dev/disk/by-uuid/4C75-9EC1";
fsType = "vfat";
- options = [ "fmask=0077" "dmask=0077" ];
+ options = [ "fmask=0022" "dmask=0022" ];
};
fileSystems."/mnt/hdd" =
@@ -31,8 +29,14 @@
fsType = "ext4";
};
+ fileSystems."/mnt/ssd" =
+ { device = "/dev/disk/by-uuid/5fb35a29-d297-4bea-8fce-394b86300241";
+ fsType = "ext4";
+ };
- swapDevices = [ ];
+ swapDevices =
+ [ { device = "/dev/disk/by-uuid/35204fb4-2195-4384-80d4-d2dd7146a3dc"; }
+ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
@@ -40,7 +44,6 @@
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp4s0.useDHCP = lib.mkDefault true;
- # networking.interfaces.wlp2s0f0u4.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;