diff --git a/hardware/hardware-configuration-desktop.nix b/hardware/hardware-configuration-desktop.nix index 028a41e..1940fde 100644 --- a/hardware/hardware-configuration-desktop.nix +++ b/hardware/hardware-configuration-desktop.nix @@ -1,30 +1,30 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, ... }: +{ config, lib, pkgs, modulesPath, ... }: { imports = - [ + [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/878539a9-eab3-4b29-86ba-dc703ac93de6"; + { device = "/dev/disk/by-uuid/35f68af7-92fe-41ed-9338-8766ad7fbd5f"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/6456-8B97"; + { device = "/dev/disk/by-uuid/3D7B-15B2"; fsType = "vfat"; }; swapDevices = - [ { device = "/dev/disk/by-uuid/5292c090-e162-441d-95f2-c43f4afec853"; } + [ { device = "/dev/disk/by-uuid/c1bdaad5-2080-4e08-b37f-cd74e5edc734"; } ]; nix.maxJobs = lib.mkDefault 8; diff --git a/roles/workstation.nix b/roles/workstation.nix index 6add0ff..8cbd9eb 100644 --- a/roles/workstation.nix +++ b/roles/workstation.nix @@ -11,7 +11,7 @@ boot.initrd.luks.devices = { root = { - device = "/dev/sda2"; + device = "/dev/nvme0n1p2"; preLVM = true; }; };