1
0

hosts/krypton: add host

This commit is contained in:
2023-06-19 19:45:28 +02:00
parent 1fb973a3f0
commit b481941eb2
5 changed files with 93 additions and 1 deletions

View File

@@ -0,0 +1,26 @@
{ config, pkgs, lib, ... }:
{
imports =
[
./hardware-configuration.nix
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.initrd.luks = {
devices.lvm = {
device = "/dev/disk/by-uuid/f7059f75-764d-4cd1-9da7-7c64b05bff38";
bypassWorkqueues = true;
};
};
networking.hostName = "krypton";
security.sudo.wheelNeedsPassword = true;
system.stateVersion = "23.05";
}