diff --git a/nixos/machines/swarm/configuration.nix b/nixos/machines/swarm/configuration.nix index 07493f2..29c80e9 100644 --- a/nixos/machines/swarm/configuration.nix +++ b/nixos/machines/swarm/configuration.nix @@ -60,6 +60,7 @@ plymouth = { enable = true; }; + initrd.systemd.enable = true; }; networking.hostName = "swarm"; # Define your hostname. @@ -141,6 +142,8 @@ 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 4a4bb21..09610fe 100644 --- a/nixos/machines/swarm/hardware.nix +++ b/nixos/machines/swarm/hardware.nix @@ -12,8 +12,24 @@ (modulesPath + "/installer/scan/not-detected.nix") ]; - 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.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.luks.devices."crypt".device = "/dev/disk/by-uuid/f16ca8aa-f596-4876-ba82-7427da9afaba"; boot.kernelModules = ["kvm-intel"]; boot.extraModulePackages = [];