Browse Source

Nix LXC: Expand ignore d unit files

main
Victor Roest 2 years ago
parent
commit
93b62e2f19
Signed by: 0x76 GPG Key ID: A3923C699D1A3BDA
  1. 4
      content/posts/nixos-proxmox-lxc.md

4
content/posts/nixos-proxmox-lxc.md

@ -85,12 +85,14 @@ nix-channel --update
### configuration.nix tweak
Finally we need to add a small tweak inside of `/etc/nixos/configuration.nix`. We will
supress the `sys-kernel-debug.mount` systemd unit as it will otherwise error upon
supress some systemds unit as they will otherwise error upon
every invocation of `nixos-rebuild switch` which can be annoying.
```nix
# Supress sys-kernel-debug
systemd.suppressedSystemUnits = [
"dev-mqueue.mount"
"sys-kernel-debug.mount"
"sys-fs-fuse-connections.mount"
];
```

Loading…
Cancel
Save