feature: Adds base Traefik stack
This commit is contained in:
parent
8a2f7309ec
commit
efe245787a
4 changed files with 76 additions and 0 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue