strato-infra/common/lxc.nix

12 lines
290 B
Nix
Raw Normal View History

2022-05-19 15:03:13 +02:00
{ 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;
}