From 93a35d021b7fdc2b7b48eb0f2365343ff6340285 Mon Sep 17 00:00:00 2001 From: clerie Date: Sat, 26 Dec 2020 09:54:21 +0100 Subject: [PATCH] Add gatekeeper hardware configuration --- hosts/gatekeeper/hardware-configuration.nix | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 hosts/gatekeeper/hardware-configuration.nix diff --git a/hosts/gatekeeper/hardware-configuration.nix b/hosts/gatekeeper/hardware-configuration.nix new file mode 100644 index 0000000..145f9d7 --- /dev/null +++ b/hosts/gatekeeper/hardware-configuration.nix @@ -0,0 +1,23 @@ +# 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 + "/profiles/qemu-guest.nix") + ]; + + boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "xhci_pci" "sd_mod" "sr_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/021ec5f0-d59b-4d15-8871-6ef5899980d6"; + fsType = "ext4"; + }; + + swapDevices = [ ]; + +}