fix(adho): Configure encrypted disks in local config

This commit is contained in:
Vincent Ambo 2017-10-15 16:42:31 +02:00
parent 98fc907d90
commit 28feb4bc92
2 changed files with 1 additions and 3 deletions

View file

@ -2,6 +2,7 @@
{ config, ...}:
{
boot.initrd.luks.devices.adho.device = "/dev/disk/by-uuid/722006b0-9654-4ea1-8703-e0cf9ac1905e";
networking.hostName = "adho";
networking.connman.enable = true;
services.xserver.libinput.enable = true;

View file

@ -13,9 +13,6 @@ in {
./local-configuration.nix
];
# Ensure encrypted devices are decrypted
boot.initrd.luks.devices.adho.device = "/dev/disk/by-uuid/722006b0-9654-4ea1-8703-e0cf9ac1905e";
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;