mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 11:14:02 -06:00
Add LUKS support
This commit is contained in:
parent
2a0df167ef
commit
e30a24f2e6
1 changed files with 7 additions and 0 deletions
|
@ -25,6 +25,13 @@
|
|||
};
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices = {
|
||||
root = {
|
||||
device = "/dev/sda";
|
||||
preLVM = true;
|
||||
};
|
||||
};
|
||||
|
||||
boot.initrd.kernelModules = [
|
||||
# Rockchip modules
|
||||
"rockchip_rga"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue