mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-07-16 22:21:55 +08:00
chore(cleanup): remove docker service because it is no longer used; move it over to core/
This commit is contained in:
parent
f177d6e7d4
commit
b99f213661
3 changed files with 14 additions and 22 deletions
|
|
@ -1,7 +1,18 @@
|
||||||
{ ... }:
|
{
|
||||||
|
username,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
virtualisation.docker = {
|
virtualisation.docker = {
|
||||||
|
package = lib.mkDefault pkgs.docker_29;
|
||||||
enable = true;
|
enable = true;
|
||||||
enableOnBoot = false;
|
# autoPrune.enable = true;
|
||||||
|
# enableNvidia = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
users.users.${username} = {
|
||||||
|
extraGroups = [ "docker" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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" ];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -6,7 +6,6 @@
|
||||||
++ [ (import ./binternet-proxy.nix) ]
|
++ [ (import ./binternet-proxy.nix) ]
|
||||||
# ++ [ (import ./bluemap-proxy.nix) ]
|
# ++ [ (import ./bluemap-proxy.nix) ]
|
||||||
# ++ [ (import ./torrent.nix) ]
|
# ++ [ (import ./torrent.nix) ]
|
||||||
++ [ (import ./docker.nix) ]
|
|
||||||
++ [ (import ./email.nix) ]
|
++ [ (import ./email.nix) ]
|
||||||
++ [ (import ./forgejo.nix) ]
|
++ [ (import ./forgejo.nix) ]
|
||||||
# ++ [ (import ./grafana.nix) ]
|
# ++ [ (import ./grafana.nix) ]
|
||||||
|
|
@ -19,7 +18,7 @@
|
||||||
++ [ (import ./mumble.nix) ]
|
++ [ (import ./mumble.nix) ]
|
||||||
# ++ [ (import ./monitoring.nix) ]
|
# ++ [ (import ./monitoring.nix) ]
|
||||||
# ++ [ (import ./minio.nix) ]
|
# ++ [ (import ./minio.nix) ]
|
||||||
++ [ (import ./nextcloud.nix) ]
|
# ++ [ (import ./nextcloud.nix) ]
|
||||||
++ [ (import ./ntfy.nix) ]
|
++ [ (import ./ntfy.nix) ]
|
||||||
++ [ (import ./nginx.nix) ]
|
++ [ (import ./nginx.nix) ]
|
||||||
# ++ [ (import ./nix-serve.nix) ]
|
# ++ [ (import ./nix-serve.nix) ]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue