🗑️ heraclitus: clean up darwin config

This commit is contained in:
James Walker 2022-09-19 22:42:10 -04:00
parent a8f4fd43e9
commit a162ca8141
Signed by: walkah
GPG Key ID: 3C127179D6086E93
2 changed files with 2 additions and 11 deletions

View File

@ -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;

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
''
);
}