1
0
nixfiles/hosts/krypton/configuration.nix

33 lines
595 B
Nix

{ config, pkgs, lib, ... }:
{
imports =
[
./hardware-configuration.nix
../../configuration/desktop
./backup.nix
./network.nix
./programs.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;
};
};
boot.kernel.sysctl."vm.swappiness" = 0;
networking.hostName = "krypton";
system.stateVersion = "23.05";
}