stuff
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{ lib, pkgs, ... }:
|
||||
{
|
||||
virtualisation.docker.enable = true;
|
||||
#virtualisation.oci-containers.backend = lib.mkDefault "docker";
|
||||
|
||||
virtualisation.docker.autoPrune.enable = true;
|
||||
virtualisation.docker.autoPrune.dates = "weekly";
|
||||
#virtualisation.docker.autoPrune.flags = [ "--all" ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
#docker-compose
|
||||
];
|
||||
|
||||
# remember to add your user:
|
||||
#users.users.USERNAME.extraGroups = [ "docker" ];
|
||||
|
||||
# Required for containers under podman-compose to be able to talk to each other.
|
||||
#virtualisation.defaultNetwork.settings.dns_enabled = true;
|
||||
|
||||
# TODO: if root-on-zfs
|
||||
#virtualisation.podman.extraPackages = [ pkgs.zfs ];
|
||||
}
|
||||
+6
-2
@@ -1,9 +1,13 @@
|
||||
{ pkgs, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
virtualisation.podman.enable = true;
|
||||
virtualisation.podman.dockerCompat = true; # alias docker to podman
|
||||
virtualisation.podman.dockerCompat = !config.virtualisation.docker.enable; # alias docker to podman
|
||||
virtualisation.oci-containers.backend = "podman"; # default
|
||||
|
||||
virtualisation.podman.autoPrune.enable = true;
|
||||
virtualisation.podman.autoPrune.dates = "weekly";
|
||||
#virtualisation.podman.autoPrune.flags = [ "--all" ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
#podman-compose
|
||||
podman-tui
|
||||
|
||||
Reference in New Issue
Block a user