2023-06-19 19:45:28 +02:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[
|
|
|
|
./hardware-configuration.nix
|
2023-06-19 22:20:47 +02:00
|
|
|
|
|
|
|
../../configuration/desktop
|
|
|
|
|
2023-06-20 20:36:53 +02:00
|
|
|
./backup.nix
|
2023-06-20 18:39:28 +02:00
|
|
|
./network.nix
|
2023-06-19 22:20:47 +02:00
|
|
|
./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";
|
|
|
|
}
|
|
|
|
|