feat: virtualbox

This commit is contained in:
s-prechtl 2024-10-01 12:34:32 +02:00
parent 2d354922a7
commit 3c8a4f2380
2 changed files with 9 additions and 5 deletions

View file

@ -133,6 +133,7 @@
ripgrep ripgrep
rustup rustup
spotify spotify
teams
thunderbird thunderbird
unzip unzip
usbutils usbutils
@ -162,13 +163,16 @@
}; };
}; };
virtualisation.docker = { virtualisation = {
virtualbox.host.enable = true;
docker = {
enable = true; enable = true;
rootless = { rootless = {
enable = true; enable = true;
setSocketVariable = true; setSocketVariable = true;
}; };
}; };
};
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.

View file

@ -23,7 +23,7 @@ in {
users.users.${cfg.username} = { users.users.${cfg.username} = {
isNormalUser = true; isNormalUser = true;
initialPassword = "12345"; initialPassword = "12345";
extraGroups = ["docker" "input" "networkmanager" "wheel"]; extraGroups = ["docker" "input" "networkmanager" "wheel" "vboxusers"];
description = "Stefan"; description = "Stefan";
shell = pkgs.zsh; shell = pkgs.zsh;
}; };