configuration
flake
hosts
_iso
aluminium
astatine
backup-4
beryllium
carbon
clerie-backup
dn42-il-gw1
dn42-il-gw5
dn42-il-gw6
dn42-ildix-clerie
dn42-ildix-service
gatekeeper
hydra-1
hydra-2
krypton
android.nix
backup.nix
configuration.nix
etesync-dav.nix
hardware-configuration.nix
initrd.nix
network.nix
programs.nix
secrets.json
ssh.pub
mail-2
monitoring-3
nonat
osmium
palladium
porter
storage-2
tungsten
web-2
zinc
lib
modules
pkgs
users
.gitignore
README.md
flake.lock
flake.nix
40 lines
796 B
Nix
40 lines
796 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
imports =
|
|
[
|
|
./hardware-configuration.nix
|
|
|
|
../../configuration/desktop
|
|
|
|
./android.nix
|
|
./backup.nix
|
|
./etesync-dav.nix
|
|
#./initrd.nix
|
|
./network.nix
|
|
./programs.nix
|
|
];
|
|
|
|
# Use the systemd-boot EFI boot loader.
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
boot.loader.timeout = 0;
|
|
|
|
boot.initrd.luks = {
|
|
devices.lvm = {
|
|
device = "/dev/disk/by-uuid/f7059f75-764d-4cd1-9da7-7c64b05bff38";
|
|
bypassWorkqueues = true;
|
|
};
|
|
};
|
|
|
|
# https://wiki.clerie.de/notiz/pm-hibernation-image-allocation-is-97054-pages-short
|
|
boot.kernel.sysctl."vm.swappiness" = 1;
|
|
|
|
boot.binfmt.emulatedSystems = [
|
|
"aarch64-linux"
|
|
];
|
|
|
|
system.stateVersion = "23.05";
|
|
}
|
|
|