mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
allow docker permissions
This commit is contained in:
parent
79f1a07fc5
commit
a50b4b1f79
2 changed files with 1 additions and 3 deletions
|
@ -18,9 +18,6 @@ with lib;
|
|||
systemd.services.docker.path = [
|
||||
pkgs.openssh
|
||||
];
|
||||
programs.bash.interactiveShellInit = ''
|
||||
((UID)) && alias docker="sudo --preserve-env=SSH_AUTH_SOCK docker"
|
||||
'';
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
enableOnBoot = false;
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
extraGroups = [
|
||||
"audio"
|
||||
"dialout"
|
||||
"docker"
|
||||
"input"
|
||||
"networkmanager"
|
||||
"video"
|
||||
|
|
Loading…
Reference in a new issue