summaryrefslogtreecommitdiffstats
path: root/tv/1systems/alnus/config.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-06-07 19:51:47 +0200
committermakefu <github@syntax-fehler.de>2020-06-07 19:51:47 +0200
commit44f5307c5b941c468c94f223480a562e4411d467 (patch)
tree315612f88f65692e9c40db75f894ae0d14b20eae /tv/1systems/alnus/config.nix
parent5d6b454ff9d9c86181374b28ed041b33f58f7663 (diff)
parent4dbed8bfab522b7b2bbb0f16ca695588ed054ab3 (diff)
Merge remote-tracking branch 'tv/master'
Diffstat (limited to 'tv/1systems/alnus/config.nix')
-rw-r--r--tv/1systems/alnus/config.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/tv/1systems/alnus/config.nix b/tv/1systems/alnus/config.nix
index d54d5fc..21583f7 100644
--- a/tv/1systems/alnus/config.nix
+++ b/tv/1systems/alnus/config.nix
@@ -11,10 +11,8 @@ with import <stockholm/lib>;
boot = {
initrd = {
availableKernelModules = [ "ahci" ];
- luks = {
- cryptoModules = [ "aes" "sha512" "xts" ];
- devices = [ { name = "luksroot"; device = "/dev/sda2"; } ];
- };
+ luks.cryptoModules = [ "aes" "sha512" "xts" ];
+ luks.devices.luksroot.devices = "/dev/sda2";
};
};