🗑️ heraclitus: clean up darwin config

This commit is contained in:
2022-09-19 22:42:10 -04:00
parent a8f4fd43e9
commit a162ca8141
2 changed files with 2 additions and 11 deletions

View File

@ -26,15 +26,4 @@
upgrade = true;
};
};
system.activationScripts.applications.text = pkgs.lib.mkForce (
''
rm -rf /Applications/Nix
mkdir -p /Applications/Nix
for app in $(find ${config.system.build.applications}/Applications -maxdepth 1 -type l); do
src="$(/usr/bin/stat -f%Y "$app")"
cp -r "$src" /Applications/Nix
done
''
);
}