40 lines
611 B
Nix
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";
|
|
}
|