Enable first podman container
This commit is contained in:
23
modules/home/services/podman.nix
Normal file
23
modules/home/services/podman.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ pkgs, lib, config, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.settings.services.podman;
|
||||
in {
|
||||
options = {
|
||||
settings.services.podman.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Enable podman configuration
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.podman = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user