envfs for making normal shell scripts work

This commit is contained in:
Kopatz
2025-04-28 12:30:25 +02:00
parent 55db17a436
commit ade2467f26
2 changed files with 6 additions and 1 deletions

View File

@@ -27,6 +27,11 @@ in {
'';
in
mkIf cfg.enable {
#Fuse filesystem that returns symlinks to executables based on the PATH of the requesting process.
#This is useful to execute shebangs on NixOS that assume hard coded locations in locations like /bin or /usr/bin etc.
services.envfs.enable = true;
environment.systemPackages = with pkgs; [
getTotalPowerUsed
watchCurrentPowerUsed