infrastructure/nixos/common/generic-lxc.nix

14 lines
398 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
2023-05-04 13:08:10 +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
}