nixos-hypervisor/services/minimalConfig/lxc.nix
Théo Barnouin 8e7f63af3e
Some checks failed
/ Build Nix targets (push) Failing after 1m14s
Replace ct by lxc on config files
2024-11-28 09:47:45 +01:00

16 lines
345 B
Nix

{lib, config, modulesPath, ...}:
let
cfg = config.services.lxc;
in
{
options.services.lxc = {
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"
];
};
}