infrastructure/nixos/common/generic-lxc.nix

10 lines
384 B
Nix
Raw Normal View History

2022-12-02 12:18:21 +01:00
_: {
2021-10-13 18:17:45 +02:00
# See also: https://blog.xirion.net/posts/nixos-proxmox-lxc/
# Supress systemd services that don't work (correctly) on LXC
2021-10-25 12:50:04 +02:00
systemd.suppressedSystemUnits = [ "dev-mqueue.mount" "sys-kernel-debug.mount" "sys-fs-fuse-connections.mount" ];
2023-03-21 11:27:01 +01:00
# https://github.com/NixOS/nixpkgs/issues/157449#issuecomment-1459299764
boot.specialFileSystems."/run".options = [ "rshared" ];
2021-10-13 18:17:45 +02:00
}