nixos-hypervisor/services/minimalConfig/lxc.nix

16 lines
343 B
Nix

{lib, config, modulesPath, ...}:
let
cfg = config.services.ct;
in
{
options.services.ct = {
enable = lib.mkEnableOption "Enable LXC container config";
};
config = lib.mkIf cfg.enable {
systemd.suppressedSystemUnits = [
"dev-mqueue.mount"
"sys-kernel-debug.mount"
"sys-fs-fuse-connections.mount"
];
};
}