dotfiles/nixos/boxes/cupsnet/default.nix
Cyryl Płotnicki e9c222df19
Some checks failed
use nix / build (push) Failing after 3m45s
remove foundry
2024-10-02 22:00:16 +01:00

40 lines
640 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
./gitea-runner.nix
./mastodon.nix
./rss.nix
./ssh.nix
./videos.nix
];
networking.hostName = "cupsnet";
boot.binfmt.emulatedSystems = ["armv7l-linux"];
zramSwap = {
enable = true;
algorithm = "zstd";
memoryPercent = 50;
};
swapDevices = [
{
device = "/swapfile";
size = 16384;
}
];
time.timeZone = "Europe/London";
}