🎨 add pre-commit-hooks and cleanup
This commit is contained in:
@ -68,16 +68,14 @@
|
||||
};
|
||||
};
|
||||
|
||||
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
|
||||
''
|
||||
);
|
||||
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
|
||||
'';
|
||||
|
||||
# Used for backwards compatibility, please read the changelog before changing.
|
||||
# $ darwin-rebuild changelog
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
_:
|
||||
|
||||
{
|
||||
homebrew = {
|
||||
|
Reference in New Issue
Block a user