From 1a238d83fb606cf792d0d20e19402bc9bf9460c3 Mon Sep 17 00:00:00 2001 From: pazpi Date: Sun, 14 Dec 2025 12:05:14 +0100 Subject: [PATCH] Remove rootless mode It has never worked. Never had time to proper find a fix and documentation if it is still necessary inside LXC --- hosts/portainer/default.nix | 5 +---- modules/virtualisation/docker.nix | 4 ---- 2 files changed, 1 insertion(+), 8 deletions(-) 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";