diff options
author | Julian T <julian@jtle.dk> | 2021-03-26 23:09:31 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-03-26 23:09:31 +0100 |
commit | 5d18d935ff732363db2858dd04a1d7d7245c620b (patch) | |
tree | 960517670c93c04a2c25fadddc4b2deee6e7612f /hardware-configuration.nix | |
parent | c671635f4be443c427cdd398dd60362a3110cdba (diff) |
Move desktop and thinkpad options out of main file
Diffstat (limited to 'hardware-configuration.nix')
-rw-r--r-- | hardware-configuration.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/hardware-configuration.nix b/hardware-configuration.nix new file mode 100644 index 0000000..e38eebc --- /dev/null +++ b/hardware-configuration.nix @@ -0,0 +1,33 @@ +# 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 = [ "nvme" "ehci_pci" "xhci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; + boot.initrd.kernelModules = [ "dm-snapshot" ]; + boot.kernelModules = [ "kvm-amd" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/stuff/root"; + fsType = "ext4"; + }; + + fileSystems."/home" = + { device = "/dev/stuff/home"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/7178-78A1"; + fsType = "vfat"; + }; + + swapDevices = [ ]; + +} |