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 = { virtualisation.docker = {
enable = true; enable = true;
storageDriver = "btrfs"; storageDriver = "btrfs";
rootless = { # rootless = {
enable = true; # enable = true;
setSocketVariable = true; # setSocketVariable = true;
}; # };
}; };
environment.systemPackages = [ environment.systemPackages = [
pkgs.docker-compose pkgs.docker-compose

View file

@ -3,7 +3,7 @@
programs.zsh.enable = true; programs.zsh.enable = true;
users.users.rin = { users.users.rin = {
isNormalUser = true; 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; shell = pkgs.zsh;
uid = 1001; uid = 1001;
hashedPasswordFile = config.age.secrets.passwd.path; hashedPasswordFile = config.age.secrets.passwd.path;