1

Add oci-container template

This commit is contained in:
2023-08-31 23:45:42 +02:00
parent 68483b5a3e
commit 2eedda95e4

View File

@ -0,0 +1,24 @@
{config, lib, pkgs, ...}:
{
virtualisation.oci-containers.containers.NAME = {
image = "";
autoStart = true;
dependsOn = [];
ports = [];
volumes = [];
environment = {
PUID = "1000";
PGID = "1000";
TZ = "Europe/Berlin";
};
extraOptions = [
# "--restart=always" # Conflicts with NixOS' default of using --rm
];
};
}