🗑️ heraclitus: clean up darwin config
This commit is contained in:
parent
a8f4fd43e9
commit
a162ca8141
@ -22,6 +22,8 @@
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.walkah = import "${dotfiles}/home.nix";
|
||||
|
||||
services.lorri.enable = true;
|
||||
|
@ -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
|
||||
''
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user