[wano] feat: Add docker virtualisation
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
parent
915b350b08
commit
1954a19142
1 changed files with 10 additions and 1 deletions
|
@ -78,10 +78,19 @@
|
|||
users.users.sid = {
|
||||
isNormalUser = true;
|
||||
description = "sid";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
extraGroups = [ "networkmanager" "wheel" "docker"];
|
||||
packages = with pkgs; [];
|
||||
};
|
||||
|
||||
# enable docker
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
# use docker without Root access (Rootless docker)
|
||||
virtualisation.docker.rootless = {
|
||||
enable = true;
|
||||
setSocketVariable = true;
|
||||
};
|
||||
|
||||
# Home Manager
|
||||
home-manager = {
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue