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