nixos/fuse: add enable option

Fuse is stil enabled by default so the default behaviour of NixOS
doesn't change. However, now it's possible to actively exclude fuse when
you don't need it.
This commit is contained in:
nikstur
2025-07-27 21:19:00 +02:00
parent 9e0ac0c7e6
commit 0d9a5c2059
3 changed files with 32 additions and 11 deletions

View File

@@ -461,13 +461,7 @@ in
# Add the mount helpers to the system path so that `mount' can find them.
system.fsPackages = [ pkgs.dosfstools ];
environment.systemPackages =
with pkgs;
[
fuse3
fuse
]
++ config.system.fsPackages;
environment.systemPackages = config.system.fsPackages;
environment.etc.fstab.text =
let