mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
use tpm to encrypt drives
This commit is contained in:
parent
f923077cf9
commit
fca5f7a167
2 changed files with 10 additions and 9 deletions
|
@ -13,6 +13,7 @@
|
|||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.initrd.systemd.enable = true;
|
||||
boot.initrd.luks.devices."luksroot" = {
|
||||
device = "/dev/disk/by-uuid/6b89181c-71e0-4e84-8523-2456d3e28400";
|
||||
allowDiscards = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue