strato-infra/common/lxc.nix
2022-05-19 15:03:13 +02:00

12 lines
290 B
Nix

{ modulesPath, ... }: {
imports = [ "${toString modulesPath}/virtualisation/lxc-container.nix" ];
services.sshd.enable = true;
systemd.suppressedSystemUnits = [
"dev-mqueue.mount"
"sys-kernel-debug.mount"
"sys-fs-fuse-connections.mount"
];
boot.isContainer = true;
}