Compare commits

...

3 commits

Author SHA1 Message Date
4f98c37286 TPM support 2025-04-04 19:53:05 -04:00
1414086642 Another go at fixing the boot 2025-04-04 19:49:45 -04:00
b582a7d707 Fix boot take 2 2025-04-04 19:31:08 -04:00
2 changed files with 21 additions and 2 deletions

View file

@ -60,6 +60,7 @@
plymouth = { plymouth = {
enable = true; enable = true;
}; };
initrd.systemd.enable = true;
}; };
networking.hostName = "swarm"; # Define your hostname. networking.hostName = "swarm"; # Define your hostname.
@ -141,6 +142,8 @@
iptsd iptsd
surface-control surface-control
wl-clipboard wl-clipboard
# for tpm backed encryption
tpm2-tss
# Podman # Podman
podman-desktop podman-desktop
podman-compose podman-compose

View file

@ -12,8 +12,24 @@
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usb_storage" "sd_mod"]; boot.initrd.availableKernelModules = [
boot.initrd.kernelModules = ["dm-snapshot" "cryptd" "pinctrl_icelake" "surface_aggregator" "surface_aggregator_registry" "surface_aggregator_hub" "surface_hid_core" "8250_dw" "surface_hid"]; "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.initrd.luks.devices."crypt".device = "/dev/disk/by-uuid/f16ca8aa-f596-4876-ba82-7427da9afaba";
boot.kernelModules = ["kvm-intel"]; boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = []; boot.extraModulePackages = [];