enable podman

This commit is contained in:
Gabriel Ebner 2020-07-24 21:23:06 +02:00
parent ddae1c3361
commit 03ca0530f9
4 changed files with 7 additions and 14 deletions

@ -45,8 +45,7 @@
services.thermald.enable = true; services.thermald.enable = true;
virtualisation.docker.enable = true; users.extraUsers.gebner.extraGroups = [ "libvirtd" ];
users.extraUsers.gebner.extraGroups = [ "docker" "libvirtd" ];
virtualisation.virtualbox.host.enable = true; virtualisation.virtualbox.host.enable = true;

@ -39,6 +39,11 @@
drivers = [ pkgs.hplip ]; drivers = [ pkgs.hplip ];
}; };
virtualisation.podman = {
enable = true;
dockerCompat = true;
};
boot.kernel.sysctl = { boot.kernel.sysctl = {
"kernel.perf_event_paranoid" = "0"; "kernel.perf_event_paranoid" = "0";
"kernel.kptr_restrict" = pkgs.lib.mkForce "0"; "kernel.kptr_restrict" = pkgs.lib.mkForce "0";

@ -35,12 +35,6 @@
services.thermald.enable = true; services.thermald.enable = true;
virtualisation.docker = {
enable = true;
storageDriver = "overlay2";
};
users.extraUsers.gebner.extraGroups = [ "docker" ];
hardware.opengl = { hardware.opengl = {
extraPackages = with pkgs; [ beignet ]; extraPackages = with pkgs; [ beignet ];
driSupport32Bit = true; driSupport32Bit = true;

@ -61,12 +61,7 @@
unison unison
]; ];
virtualisation.docker = { users.extraUsers.gebner.extraGroups = [ "libvirtd" ];
enable = true;
storageDriver = "overlay2";
};
users.extraUsers.gebner.extraGroups = [ "docker" "libvirtd" "video" "input" "dialout" ];
virtualisation.libvirtd.enable = true; virtualisation.libvirtd.enable = true;
virtualisation.virtualbox.host.enable = true; virtualisation.virtualbox.host.enable = true;