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