Commit ec2fb13358ac
Changed files (1)
systems
common
desktop
systems/common/desktop/default.nix
@@ -109,23 +109,8 @@
# };
};
- # Workaround: envfs force-disables the usrbinenv activation script because it
- # mounts a FUSE filesystem over /usr/bin at boot. But on fresh installs (or
- # with impermanence), /usr/bin/env doesn't exist yet, and systemd refuses to
- # boot before envfs can mount. Create it via activation as a fallback.
- # See: https://github.com/NixOS/nixpkgs/issues/462556
- system.activationScripts.usrbinenv = lib.mkOverride 0 ''
- # Skip if envfs FUSE is already mounted (read-only during live switch)
- if findmnt -n -t fuse /usr/bin >/dev/null 2>&1; then
- exit 0
- fi
- mkdir -p /usr/bin
- chmod 0755 /usr/bin
- ln -sfn ${config.environment.usrbinenv} /usr/bin/env
- '';
-
services = {
- envfs.enable = true;
+ envfs.enable = false;
power-profiles-daemon.enable = true;
upower.enable = true;
udisks2.enable = true;