diff --git a/nixos/machines/swarm/configuration.nix b/nixos/machines/swarm/configuration.nix index 29c80e9..07493f2 100644 --- a/nixos/machines/swarm/configuration.nix +++ b/nixos/machines/swarm/configuration.nix @@ -60,7 +60,6 @@ plymouth = { enable = true; }; - initrd.systemd.enable = true; }; networking.hostName = "swarm"; # Define your hostname. @@ -142,8 +141,6 @@ iptsd surface-control wl-clipboard - # for tpm backed encryption - tpm2-tss # Podman podman-desktop podman-compose diff --git a/nixos/machines/swarm/hardware.nix b/nixos/machines/swarm/hardware.nix index 09610fe..4a4bb21 100644 --- a/nixos/machines/swarm/hardware.nix +++ b/nixos/machines/swarm/hardware.nix @@ -12,24 +12,8 @@ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ - "xhci_pci" - "nvme" - "usb_storage" - "sd_mod" - ]; - boot.initrd.kernelModules = [ - "dm-snapshot" - "cryptd" - "intel_lpss" - "intel_lpss_pci" - "pinctrl_icelake" - "8250_dw" - "surface_hid_core" - "surface_hid" - "surface_aggregator_registry" - "surface_aggregator" - ]; + boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usb_storage" "sd_mod"]; + boot.initrd.kernelModules = ["dm-snapshot" "cryptd" "pinctrl_icelake" "surface_aggregator" "surface_aggregator_registry" "surface_aggregator_hub" "surface_hid_core" "8250_dw" "surface_hid"]; boot.initrd.luks.devices."crypt".device = "/dev/disk/by-uuid/f16ca8aa-f596-4876-ba82-7427da9afaba"; boot.kernelModules = ["kvm-intel"]; boot.extraModulePackages = [];