feature: Adds base Traefik stack

This commit is contained in:
Tera << 8 2025-05-06 07:48:49 -04:00
parent 8a2f7309ec
commit efe245787a
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
4 changed files with 76 additions and 0 deletions

View file

@ -14,6 +14,9 @@
../../system/sshd.nix
../../system/avahifixes.nix
../../system/i18n.nix
# Docker stacks
./andromeda/stacks/traefik/docker-compose.nix
];
users.mutableUsers = false;
@ -32,6 +35,10 @@
"networkmanager"
];
packages = with pkgs; [
git
];
openssh.authorizedKeys.keys = [
(builtins.readFile ../../data/id_user.pub)
];
@ -46,12 +53,27 @@
# Services
virtualisation.docker = {
enable = true;
autoPrune.enable = true;
storageDriver = "btrfs";
};
virtualisation.oci-containers.backend = "docker";
# Volumes
fileSystems."/mnt/NASBox" = {
device = "192.168.0.3:/mnt/Diskette/KubeData";
fsType = "nfs";
};
environment.systemPackages = builtins.attrValues {
inherit (pkgs) htop btop micro nano;
};
networking.firewall = {
enable = true;
allowedTCPPorts = [80 443 8000];
};
system.stateVersion = "24.11";
}