{ config, pkgs, ... }: { services.nix-daemon.enable = true; users.users.shubh.home = "/Users/shubh"; #homebrew = { # enable = true; # casks = [ "iterm2" "qtpass" ]; #}; #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 # '' #); }