mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
46 lines
907 B
Nix
46 lines
907 B
Nix
{ config, ... }:
|
|
{
|
|
imports = [
|
|
./backup.nix
|
|
./default.nix
|
|
./core.nix
|
|
./disks.nix
|
|
./disks-srv.nix
|
|
./users.nix
|
|
./extra/3d-printer.nix
|
|
./extra/avahi.nix
|
|
./extra/compression.nix
|
|
./extra/development.nix
|
|
./extra/docker.nix
|
|
./extra/dyndns.nix
|
|
./extra/networkdecrypt.nix
|
|
./extra/nix.nix
|
|
./extra/ssh.nix
|
|
./modules/webapps
|
|
./extra/webapps/bazarr.nix
|
|
./extra/webapps/homer.nix
|
|
./extra/webapps/jellyfin.nix
|
|
./extra/webapps/prowlarr.nix
|
|
./extra/webapps/radarr.nix
|
|
./extra/webapps/sonarr.nix
|
|
./hardware/raspberrypi4.nix
|
|
];
|
|
networking.hostName = "serverle";
|
|
|
|
#environment.noXlibs = true;
|
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
8080 # aria
|
|
];
|
|
|
|
# Nix
|
|
nix.gc = {
|
|
automatic = true;
|
|
options = "--delete-older-than 30d";
|
|
};
|
|
|
|
system = {
|
|
stateVersion = "21.11";
|
|
autoUpgrade.enable = true;
|
|
};
|
|
}
|