system/docker: disable rootless

This commit is contained in:
Cilly Leang 2026-03-09 00:39:07 +11:00
parent 2baffcb7a5
commit 12681f2087
Signed by: cilly
GPG key ID: 6500251E087653C9
2 changed files with 5 additions and 5 deletions

View file

@ -2,10 +2,10 @@
virtualisation.docker = {
enable = true;
storageDriver = "btrfs";
rootless = {
enable = true;
setSocketVariable = true;
};
# rootless = {
# enable = true;
# setSocketVariable = true;
# };
};
environment.systemPackages = [
pkgs.docker-compose

View file

@ -3,7 +3,7 @@
programs.zsh.enable = true;
users.users.rin = {
isNormalUser = true;
extraGroups = [ "adbusers" "audio" "corectrl" "dialout" "libvirtd" "networkmanager" "video" "wheel" "wireshark" ];
extraGroups = [ "adbusers" "audio" "corectrl" "dialout" "docker" "libvirtd" "networkmanager" "video" "wheel" "wireshark" ];
shell = pkgs.zsh;
uid = 1001;
hashedPasswordFile = config.age.secrets.passwd.path;