allow docker permissions

This commit is contained in:
Sean Buckley 2024-06-18 19:02:11 -04:00
parent 79f1a07fc5
commit a50b4b1f79
2 changed files with 1 additions and 3 deletions

View file

@ -18,9 +18,6 @@ with lib;
systemd.services.docker.path = [ systemd.services.docker.path = [
pkgs.openssh pkgs.openssh
]; ];
programs.bash.interactiveShellInit = ''
((UID)) && alias docker="sudo --preserve-env=SSH_AUTH_SOCK docker"
'';
virtualisation.docker = { virtualisation.docker = {
enable = true; enable = true;
enableOnBoot = false; enableOnBoot = false;

View file

@ -11,6 +11,7 @@
extraGroups = [ extraGroups = [
"audio" "audio"
"dialout" "dialout"
"docker"
"input" "input"
"networkmanager" "networkmanager"
"video" "video"