kubernetes vm building

This commit is contained in:
BOTAlex 2026-01-24 16:43:58 +01:00
parent 4e2d73d546
commit 376912c631
15 changed files with 319 additions and 15 deletions

View file

@ -1,5 +1,16 @@
{pkgs, ...} : {
{ pkgs, ... }: {
virtualisation.docker.enable = true;
hardware.nvidia-container-toolkit.enable = true;
systemd.user.services.force-start-docker-containers = {
description = "docker stupid, so this starts the docker composes";
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "/home/botserver/scripts/docker/up.sh";
Type = "oneshot";
};
};
}