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 = [
|
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;
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"audio"
|
"audio"
|
||||||
"dialout"
|
"dialout"
|
||||||
|
"docker"
|
||||||
"input"
|
"input"
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
"video"
|
"video"
|
||||||
|
|
Loading…
Reference in a new issue