1 { config, pkgs, lib, ... }:
5 cfg = config.programs.extra-container;
8 programs.extra-container.enable = mkEnableOption (lib.mdDoc ''
9 extra-container, a tool for running declarative NixOS containers
10 without host system rebuilds
13 config = mkIf cfg.enable {
14 environment.systemPackages = [ pkgs.extra-container ];
15 boot.extraSystemdUnitPaths = [ "/etc/systemd-mutable/system" ];