From 6ed0606ee041a7d49ca54be6a807db7c029dfe4a Mon Sep 17 00:00:00 2001 From: Sweetbread Date: Mon, 22 Apr 2024 10:19:52 +0300 Subject: [PATCH] Hardware config changes --- nixos/hardware-configuration.nix | 10 ++-------- nixos/packages.nix | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/nixos/hardware-configuration.nix b/nixos/hardware-configuration.nix index 70f17b6..62cc374 100644 --- a/nixos/hardware-configuration.nix +++ b/nixos/hardware-configuration.nix @@ -5,8 +5,7 @@ { imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ ]; @@ -14,15 +13,10 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/c3c28b79-eb8b-4a45-8ee2-5576e82cb4e5"; + { device = "/dev/disk/by-uuid/"; #TODO: insert path here fsType = "ext4"; }; - swapDevices = - [ { device = "/dev/disk/by-uuid/3e9f0c85-9a78-44ad-a29c-84afc3b257cc"; } - { device = "/dev/disk/by-uuid/d80806ff-1b8c-4cac-b7f8-593e030abcda"; } - ]; - # 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 # still possible to use this option, but it's recommended to use it in conjunction diff --git a/nixos/packages.nix b/nixos/packages.nix index 7de68f1..2e6e2f5 100644 --- a/nixos/packages.nix +++ b/nixos/packages.nix @@ -87,7 +87,7 @@ pamixer # GPU stuff - amdvlk + #amdvlk rocm-opencl-icd glaxnimate