+portainer +baserow

This commit is contained in:
2025-08-18 09:07:41 +02:00
parent 59443c76b5
commit b460ee8b83
14 changed files with 584 additions and 477 deletions

View File

@@ -6,6 +6,7 @@
...
}: {
imports = [
./extraServices
./users
inputs.home-manager.nixosModules.home-manager
];

View File

@@ -0,0 +1,5 @@
{
imports = [
./podman.nix
];
}

View File

@@ -0,0 +1,33 @@
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.extraServices.podman;
in {
options.extraServices.podman.enable = mkEnableOption "enable podman";
config = mkIf cfg.enable {
virtualisation = {
podman = {
enable = true;
dockerCompat = true;
dockerSocket.enable = true;
autoPrune = {
enable = true;
dates = "weekly";
flags = [
"--filter=until=24h"
"--filter=label!=important"
];
};
defaultNetwork.settings.dns_enabled = true;
};
};
environment.systemPackages = with pkgs; [
podman-compose
];
};
}