feat: docker
This commit is contained in:
parent
add58bcc68
commit
12572ddc57
2 changed files with 10 additions and 1 deletions
|
|
@ -153,6 +153,15 @@
|
|||
};
|
||||
};
|
||||
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
rootless = {
|
||||
enable = true;
|
||||
setSocketVariable = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
# programs.mtr.enable = true;
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ in {
|
|||
users.users.${cfg.username} = {
|
||||
isNormalUser = true;
|
||||
initialPassword = "12345";
|
||||
extraGroups = ["input" "networkmanager" "wheel"];
|
||||
extraGroups = [ "docker" "input" "networkmanager" "wheel"];
|
||||
description = "Stefan";
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue