dotfiles/nixos/boxes/cupsnet/default.nix

41 lines
640 B
Nix
Raw Normal View History

{
config,
pkgs,
inputs,
lib,
...
}: {
2024-01-01 13:43:58 +00:00
imports = [
"${inputs.nixpkgs-stable}/nixos/modules/profiles/qemu-guest.nix"
../cli.nix
../send-logs.nix
2024-04-21 12:18:05 +01:00
./backups.nix
2024-01-01 13:43:58 +00:00
./boot.nix
2024-01-15 14:15:15 +00:00
./cryptpad.nix
2024-01-01 13:43:58 +00:00
./disks.nix
./forgejo.nix
2024-03-16 15:23:27 +00:00
./gitea-runner.nix
2024-02-04 22:33:26 +00:00
./mastodon.nix
2024-02-07 20:07:12 +00:00
./rss.nix
2024-01-01 16:50:13 +00:00
./ssh.nix
2024-01-16 22:41:32 +00:00
./videos.nix
2024-01-01 13:43:58 +00:00
];
networking.hostName = "cupsnet";
2024-05-07 17:41:56 +01:00
boot.binfmt.emulatedSystems = ["armv7l-linux"];
2024-01-01 13:43:58 +00:00
zramSwap = {
enable = true;
algorithm = "zstd";
memoryPercent = 50;
2024-01-01 13:43:58 +00:00
};
swapDevices = [
{
device = "/swapfile";
size = 16384;
}
];
2024-01-01 13:43:58 +00:00
time.timeZone = "Europe/London";
}