2024-08-30 11:34:22 +03:00
|
|
|
{ abs, modulesPath, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
(modulesPath + "/profiles/minimal.nix")
|
|
|
|
(modulesPath + "/profiles/qemu-guest.nix")
|
2024-11-23 16:37:34 +03:00
|
|
|
(abs "lib/desu")
|
2024-08-30 11:34:22 +03:00
|
|
|
./disk-config.nix
|
|
|
|
|
|
|
|
./services/sing-box.nix
|
|
|
|
./services/uptime-kuma.nix
|
2024-11-08 22:22:47 +03:00
|
|
|
./services/mumble.nix
|
2024-08-30 11:34:22 +03:00
|
|
|
];
|
|
|
|
|
|
|
|
boot.loader.grub = {
|
|
|
|
efiSupport = true;
|
|
|
|
efiInstallAsRemovable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
boot.tmp.cleanOnBoot = true;
|
|
|
|
zramSwap.enable = true;
|
|
|
|
|
|
|
|
age.identityPaths = [
|
|
|
|
"/etc/ssh/agenix_key"
|
|
|
|
];
|
|
|
|
|
|
|
|
services.openssh.enable = true;
|
|
|
|
users.users.root.openssh.authorizedKeys.keyFiles = [
|
|
|
|
(abs "ssh/teidesu.pub")
|
|
|
|
];
|
|
|
|
|
|
|
|
virtualisation.docker.enable = true;
|
|
|
|
virtualisation.oci-containers.backend = "docker";
|
|
|
|
|
|
|
|
system.stateVersion = "23.11";
|
|
|
|
}
|