chore(cleanup): remove docker service because it is no longer used; move it over to core/

This commit is contained in:
Ahwx 2026-06-10 20:55:19 +02:00
parent f177d6e7d4
commit b99f213661
3 changed files with 14 additions and 22 deletions

View file

@ -1,7 +1,18 @@
{ ... }:
{
username,
pkgs,
lib,
...
}:
{
virtualisation.docker = {
package = lib.mkDefault pkgs.docker_29;
enable = true;
enableOnBoot = false;
# autoPrune.enable = true;
# enableNvidia = true;
};
users.users.${username} = {
extraGroups = [ "docker" ];
};
}

View file

@ -1,18 +0,0 @@
{
username,
pkgs,
lib,
...
}:
{
virtualisation.docker = {
package = lib.mkDefault pkgs.docker_29;
enable = true;
# autoPrune.enable = true;
# enableNvidia = true;
};
users.users.${username} = {
extraGroups = [ "docker" ];
};
}

View file

@ -6,7 +6,6 @@
++ [ (import ./binternet-proxy.nix) ]
# ++ [ (import ./bluemap-proxy.nix) ]
# ++ [ (import ./torrent.nix) ]
++ [ (import ./docker.nix) ]
++ [ (import ./email.nix) ]
++ [ (import ./forgejo.nix) ]
# ++ [ (import ./grafana.nix) ]
@ -19,7 +18,7 @@
++ [ (import ./mumble.nix) ]
# ++ [ (import ./monitoring.nix) ]
# ++ [ (import ./minio.nix) ]
++ [ (import ./nextcloud.nix) ]
# ++ [ (import ./nextcloud.nix) ]
++ [ (import ./ntfy.nix) ]
++ [ (import ./nginx.nix) ]
# ++ [ (import ./nix-serve.nix) ]