diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2021-08-08 09:39:23 +0200 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2021-08-08 09:39:23 +0200 |
| commit | 34670ce5bb4a0280ddafed12d7e61350ad372bee (patch) | |
| tree | 9a44ec0318f3a277e06476d44263ac338e9e69d8 | |
| parent | 8144f0fe7e11cd7bffa41dea59d5c2a15f1e13de (diff) | |
don't track hardware configuration
| -rw-r--r-- | config/.gitignore | 1 | ||||
| -rw-r--r-- | config/hardware-configuration.nix | 28 |
2 files changed, 1 insertions, 28 deletions
diff --git a/config/.gitignore b/config/.gitignore new file mode 100644 index 0000000..4c7f2b9 --- /dev/null +++ b/config/.gitignore @@ -0,0 +1 @@ +hardware-configuration.nix
\ No newline at end of file diff --git a/config/hardware-configuration.nix b/config/hardware-configuration.nix deleted file mode 100644 index efcdb77..0000000 --- a/config/hardware-configuration.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, modulesPath, ... }: - -{ - imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; - - boot.initrd.availableKernelModules = - [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = { - device = "/dev/disk/by-uuid/2b302948-5608-41c6-b54c-1c0e39ff6a58"; - fsType = "ext4"; - }; - - boot.initrd.luks.devices."root".device = - "/dev/disk/by-uuid/eaec758b-ba22-42ab-8992-e765cec9be55"; - - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/74d78eba-c29a-4724-8fb7-624e0a03faa5"; - fsType = "ext4"; - }; - - swapDevices = [{ device = "/swap"; }]; - - nix.maxJobs = lib.mkDefault 1; -} |
