diff --git a/hosts/perso-desktop/hardware-configuration.nix b/hosts/perso-desktop/hardware-configuration.nix index b0b4979..a3142f4 100644 --- a/hosts/perso-desktop/hardware-configuration.nix +++ b/hosts/perso-desktop/hardware-configuration.nix @@ -1,31 +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, modulesPath, ... }: +{ config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/00bd8694-ef7c-49c5-95ec-7d9fecb73944"; + { device = "/dev/disk/by-uuid/5ad1f823-0e39-45d5-bedc-20716f39ae76"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/9062-09B7"; + { device = "/dev/disk/by-uuid/AD52-EFC8"; fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; }; - swapDevices = - [ { device = "/dev/disk/by-uuid/585d371b-36e7-4df7-98fc-697135a36538"; } - ]; + swapDevices = [ ]; # 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