1
0
nixfiles/hosts/krypton/configuration.nix

33 lines
595 B
Nix
Raw Normal View History

2023-06-19 19:45:28 +02:00
{ config, pkgs, lib, ... }:
{
imports =
[
./hardware-configuration.nix
../../configuration/desktop
2023-06-20 20:36:53 +02:00
./backup.nix
2023-06-20 18:39:28 +02:00
./network.nix
./programs.nix
2023-06-19 19:45:28 +02:00
];
# 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;
};
};
2023-06-20 11:48:12 +02:00
boot.kernel.sysctl."vm.swappiness" = 0;
2023-06-19 19:45:28 +02:00
networking.hostName = "krypton";
system.stateVersion = "23.05";
}