Make podman a separate module
We're going to hide more in there.
This commit is contained in:
parent
3228b54092
commit
07d3b9d35e
3 changed files with 11 additions and 1 deletions
|
|
@ -6,6 +6,7 @@
|
|||
./fish.nix
|
||||
./onlyoffice.nix
|
||||
./openssh.nix
|
||||
./podman.nix
|
||||
./seafile.nix
|
||||
./sudo.nix
|
||||
./synapse.nix
|
||||
|
|
|
|||
9
modules/system/podman.nix
Normal file
9
modules/system/podman.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ config, configFiles, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
{
|
||||
options.myModules.podman.enable = mkEnableOption "custom podman configuration";
|
||||
config = mkIf config.myModules.podman.enable {
|
||||
virtualisation.podman.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue