diff options
Diffstat (limited to 'hardware-configuration.nix')
| -rw-r--r-- | hardware-configuration.nix | 63 |
1 files changed, 28 insertions, 35 deletions
diff --git a/hardware-configuration.nix b/hardware-configuration.nix index aa58733..2c0a93f 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -1,47 +1,40 @@ # 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, modulesPath, ... }: - { - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; - - boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usbhid" "sdhci_pci" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/6546ea32-a94f-4d2d-8949-fe5f7009bd22"; - fsType = "ext4"; - }; + config, + lib, + pkgs, + modulesPath, + ... +}: { + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - fileSystems."/nix" = - { device = "/dev/disk/by-uuid/038cd71d-c0c6-4e3b-950c-2b239d67670b"; - fsType = "ext4"; - }; + boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "sdhci_pci"]; + boot.initrd.kernelModules = []; + boot.kernelModules = ["kvm-intel"]; + boot.extraModulePackages = []; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/5AEC-83B7"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; + fileSystems."/" = { + device = "none"; + fsType = "tmpfs"; + options = ["defaults" "size=25%" "mode=755"]; + }; - fileSystems."/home" = - { device = "/dev/disk/by-uuid/bc77f555-144f-4c8c-86cb-e2785783c49a"; - fsType = "ext4"; - }; + fileSystems."/nix" = { + device = "/dev/disk/by-uuid/0e586651-36f4-42b0-99b3-3f0704a894d6"; + fsType = "btrfs"; + }; - fileSystems."/home/mtgmonkey/tmp" = - { device = "/dev/mmcblk0p1"; - fsType = "ext4"; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/F425-55BA"; + fsType = "vfat"; + options = ["fmask=0022" "dmask=0022"]; + }; - swapDevices = - [ { device = "/dev/disk/by-uuid/394f46fe-65c3-4e35-acf8-44d81ed5a674"; } - ]; + swapDevices = []; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; |
