From d19be69fbe421fd2b6598a93414146389ed75491 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Mon, 25 Sep 2023 23:28:12 -0700 Subject: added darwin --- hosts/morpheus/configuration.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 hosts/morpheus/configuration.nix (limited to 'hosts') diff --git a/hosts/morpheus/configuration.nix b/hosts/morpheus/configuration.nix new file mode 100644 index 0000000..dc1edb3 --- /dev/null +++ b/hosts/morpheus/configuration.nix @@ -0,0 +1,23 @@ +{ 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 + # '' + #); +} -- cgit v1.2.3