{ self, config, pkgs, lib, ... }: { programs.bash.enable = true; environment = { shells = [ pkgs.bash ]; }; users.users.icy = { name = "icy"; home = "/Users/icy"; }; services.nix-daemon.enable = true; security.pam.enableSudoTouchIdAuth = true; system.activationScripts.applications.text = pkgs.lib.mkForce ( '' echo "setting up ~/Applications..." >&2 rm -rf ~/Applications/Nix\ Apps mkdir -p ~/Applications/Nix\ Apps 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\ Apps done '' ); }