mirror of
https://github.com/nix-community/home-manager
synced 2024-12-26 03:39:47 +01:00
18 lines
455 B
Nix
18 lines
455 B
Nix
|
{ config, pkgs, lib, ... }:
|
||
|
|
||
|
{
|
||
|
meta.maintainers = with lib.hm.maintainers; [ bamhm182 n-hass ];
|
||
|
|
||
|
imports =
|
||
|
[ ./containers.nix ./install-quadlet.nix ./networks.nix ./services.nix ];
|
||
|
|
||
|
options.services.podman = {
|
||
|
enable = lib.mkEnableOption "Podman, a daemonless container engine";
|
||
|
};
|
||
|
|
||
|
config = lib.mkIf config.services.podman.enable {
|
||
|
assertions =
|
||
|
[ (lib.hm.assertions.assertPlatform "podman" pkgs lib.platforms.linux) ];
|
||
|
};
|
||
|
}
|