diff options
| author | Caroline Larimore <caroline@larimo.re> | 2024-05-12 20:12:49 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2024-05-12 20:12:49 -0700 |
| commit | 31fa816373038e5fad807131a8526103bd005a6f (patch) | |
| tree | 26a799d7d17b78fb794362dd3aa5ef378b05f427 /util/hardware-configuration.nix | |
| parent | c7bdfbb27406d90f50e5d46908e0a4e1f96096b2 (diff) | |
Delete old duplicate config from util
(i have no clue how that even happened?)
Diffstat (limited to 'util/hardware-configuration.nix')
| -rw-r--r-- | util/hardware-configuration.nix | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/util/hardware-configuration.nix b/util/hardware-configuration.nix deleted file mode 100644 index c268ff8..0000000 --- a/util/hardware-configuration.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ config, lib, pkgs, modulesPath, ... }: - -{ - imports = [ - (modulesPath + "/installer/scan/not-detected.nix") - ]; - - boot = { - loader.grub = { - enable = true; - - zfsSupport = true; - efiSupport = true; - efiInstallAsRemovable = true; - mirroredBoots = [ - { devices = [ "nodev" ]; path = "/boot"; } - ]; - }; - - initrd = { - availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ]; - kernelModules = [ "amdgpu" ]; - - postDeviceCommands = lib.mkAfter '' - zfs rollback -r zpool/root@blank && zfs rollback -r zpool/home@blank - ''; - }; - - kernelModules = [ "kvm-amd" ]; - extraModulePackages = [ ]; - - supportedFilesystems = [ "ntfs" ]; - }; - - fileSystems = { - "/" = { fsType = "zfs"; device = "zpool/root"; }; - "/home" = { fsType = "zfs"; device = "zpool/home"; }; - "/persist" = { fsType = "zfs"; device = "zpool/persist"; }; - "/nix" = { fsType = "zfs"; device = "zpool/nix"; }; - - "/boot" = { fsType = "vfat"; device = "/dev/disk/by-uuid/12CE-A600"; }; - - "/mnt/4tb" = { fsType = "ext4"; device = "/dev/disk/by-label/4tb"; }; - "/mnt/ssd" = { fsType = "ext4"; device = "/dev/disk/by-label/ssd-256"; }; - }; - - swapDevices = [ ]; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} |