From e58201abb8550b7cf2dd12ac55ffa8e9db6f6c54 Mon Sep 17 00:00:00 2001 From: HMSheets Date: Sun, 30 Aug 2020 11:06:21 -0700 Subject: [PATCH] Add 'hardware-configuration.nix' --- hardware-configuration.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 hardware-configuration.nix diff --git a/hardware-configuration.nix b/hardware-configuration.nix new file mode 100644 index 0000000..b69b6a3 --- /dev/null +++ b/hardware-configuration.nix @@ -0,0 +1,26 @@ +# 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, ... }: + +{ + imports = + [ + ]; + + boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sd_mod" "sr_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/1972ba2d-a5fd-4d89-86a4-092a2645d27f"; + fsType = "ext4"; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/6f3e3d02-70dc-4820-b6c6-41568fe57600"; } + ]; + + nix.maxJobs = lib.mkDefault 1; +}