dotfiles/nixos/boxes/cupsnet/default.nix
Cyryl Płotnicki d824128e33
All checks were successful
use nix / build (push) Successful in 13m5s
add more swap to cupsnet, as nix ci ooms
2024-04-27 13:08:20 +01:00

40 lines
611 B
Nix

{
config,
pkgs,
inputs,
lib,
...
}: {
imports = [
"${inputs.nixpkgs-stable}/nixos/modules/profiles/qemu-guest.nix"
../cli.nix
../send-logs.nix
./backups.nix
./boot.nix
./cryptpad.nix
./disks.nix
./forgejo.nix
./foundryvtt.nix
./gitea-runner.nix
./mastodon.nix
./rss.nix
./ssh.nix
./videos.nix
];
networking.hostName = "cupsnet";
zramSwap = {
enable = true;
algorithm = "zstd";
memoryPercent = 50;
};
swapDevices = [
{
device = "/swapfile";
size = 16384;
}
];
time.timeZone = "Europe/London";
}