nixos/serverle.nix

37 lines
636 B
Nix
Raw Normal View History

2020-11-16 21:14:46 +01:00
{ config, ... }:
{
imports = [
./default.nix
./core.nix
./disks.nix
./disks-srv.nix
./users.nix
./extra/networkdecrypt.nix
./extra/compression.nix
2021-03-28 21:03:12 +02:00
./extra/development.nix
2021-03-29 23:28:13 +02:00
./extra/docker.nix
2021-03-28 21:03:12 +02:00
./extra/3d-printer.nix
2020-11-16 21:14:46 +01:00
./extra/ssh.nix
./extra/avahi.nix
./hardware/raspberrypi4.nix
];
networking.hostName = "serverle";
#environment.noXlibs = true;
2021-03-29 23:28:13 +02:00
networking.firewall.allowedTCPPorts = [
8080 # aria
];
2020-11-16 21:14:46 +01:00
# Nix
2021-11-30 23:16:20 +01:00
nix.gc = {
automatic = true;
options = "--delete-older-than 30d";
};
2020-11-16 21:14:46 +01:00
2021-11-30 23:16:20 +01:00
system = {
2021-12-07 10:38:30 +01:00
stateVersion = "21.11";
autoUpgrade.enable = true;
2021-11-30 23:16:20 +01:00
};
2020-11-16 21:14:46 +01:00
}