home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 67986754c92f84c4aa5b0cb145620707692d3dd1
parent 1c8c56baa2c101c40cca9cc1d62614355fd4c1c0
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Thu, 23 Jun 2022 16:29:06 +0200

systems/naruhodo: enable netbook and configure extra luks key

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Msystems/hosts/naruhodo.nix | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/systems/hosts/naruhodo.nix b/systems/hosts/naruhodo.nix @@ -38,6 +38,10 @@ in device = "/dev/disk/by-uuid/50d7faba-8923-4b30-88f7-40df26e02def"; preLVM = true; allowDiscards = true; + keyFile = "/dev/disk/by-id/usb-_USB_DISK_2.0_070D375D84327E87-0:0"; + keyFileOffset = 30992883712; + keyFileSize = 4096; + fallbackToPassword = true; }; }; @@ -53,6 +57,7 @@ in }; boot = { + loader.systemd-boot.netbootxyz.enable = true; kernelPackages = pkgs.linuxPackages_latest; tmpOnTmpfs = true; plymouth = {