13 lines
420 B
Nix
13 lines
420 B
Nix
{ config, pkgs, lib, ... }:{
|
|
config = lib.mkIf (config.syscfg.server ? arion) {
|
|
environment.systemPackages = with pkgs; [ arion ];
|
|
virtualisation.arion = {
|
|
backend = "podman-socket";
|
|
projects = {
|
|
cloud.settings = import ./docker/cloud.nix { inherit config pkgs lib; };
|
|
authentik.settings =
|
|
import ./docker/authentik.nix { inherit config pkgs lib; };
|
|
};
|
|
};
|
|
};
|
|
} |