feat(virt): enable docker (podman)
This commit is contained in:
parent
1bd060f10b
commit
3a6d7bd4e5
1 changed files with 9 additions and 1 deletions
|
|
@ -92,7 +92,7 @@
|
||||||
users.users.khais = {
|
users.users.khais = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Khaïs COLIN";
|
description = "Khaïs COLIN";
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" "podman" ];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -233,6 +233,14 @@
|
||||||
dev.enable = true; # linux man-pages project, dev documenation
|
dev.enable = true; # linux man-pages project, dev documenation
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# enable docker virtualization
|
||||||
|
virtualisation.podman = {
|
||||||
|
enable = true;
|
||||||
|
# create alias mapping docker to podman
|
||||||
|
dockerCompat = true;
|
||||||
|
dockerSocket.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue