feat: docker

This commit is contained in:
s-prechtl 2024-09-17 22:27:18 +02:00
parent add58bcc68
commit 12572ddc57
2 changed files with 10 additions and 1 deletions

View file

@ -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;

View file

@ -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;
};