diff --git a/hosts/portainer/default.nix b/hosts/portainer/default.nix index a1bdd38..d2ae030 100644 --- a/hosts/portainer/default.nix +++ b/hosts/portainer/default.nix @@ -30,11 +30,8 @@ in }; # Extra packages - environment = { - shellAliases = { + environment.shellAliases = { docker = "sudo docker"; - }; - systemPackages = with pkgs; [ ]; }; system.stateVersion = "24.11"; diff --git a/modules/virtualisation/docker.nix b/modules/virtualisation/docker.nix index af59486..dccd6f2 100644 --- a/modules/virtualisation/docker.nix +++ b/modules/virtualisation/docker.nix @@ -16,10 +16,6 @@ in virtualisation = { docker = { storageDriver = "overlay2"; - rootless = { - enable = true; - setSocketVariable = true; - }; }; oci-containers.backend = "docker";