Hostname diff
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
./applications/thunar.nix
|
||||
|
||||
./services/docker.nix
|
||||
./services/podman.nix
|
||||
./services/quickemu.nix
|
||||
./services/sunshine.nix
|
||||
./services/garbage-collection.nix
|
||||
|
24
modules/system/services/podman.nix
Normal file
24
modules/system/services/podman.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ 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 {
|
||||
virtualisation.containers.enable = true;
|
||||
virtualisation.podman = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user