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 = {
|
||||
isNormalUser = true;
|
||||
description = "Khaïs COLIN";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
extraGroups = [ "networkmanager" "wheel" "podman" ];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
|
|
@ -233,6 +233,14 @@
|
|||
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
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue