Moved over containers

This commit is contained in:
ari committed 2024-08-18 21:27:16 -04:00
1 parent a86fd67f5a
commit 1d0188e199
5 files changed
+6 -10

No files matched your search

+2 -2
View File
@@ -10,12 +10,12 @@ with lib;
options = {
skyg.common.containers = {
runtime = mkOption {
description = "DOcker vs podman";
description = "Docker vs podman";
type = types.str;
default = "docker";
};
enableOnBoot = mkOption {
type = types.boolean;
type = types.bool;
default = false;
};
localDockerRegistries = mkOption {
+1 -1
View File
@@ -4,7 +4,7 @@ let
cfg = config.skyg.common.containers;
in
{
config = lib.mkIf cfg.runtime == "docker" {
config = lib.mkIf (cfg.runtime == "docker") {
virtualisation.docker = {
enable = true;
autoPrune.enable = true;
+1 -1
View File
@@ -3,7 +3,7 @@ let
cfg = config.skyg.common.containers;
in
{
config = lib.mkIf cfg.runtime == "podman" {
config = lib.mkIf (cfg.runtime == "podman") {
virtualisation.oci-containers.backend = "podman";
virtualisation = {
podman = {