diff options
author | Shubham Saini <ssaini@fispan.com> | 2023-09-26 06:28:12 +0000 |
---|---|---|
committer | Shubham Saini <ssaini@fispan.com> | 2023-09-26 06:28:12 +0000 |
commit | d19be69fbe421fd2b6598a93414146389ed75491 (patch) | |
tree | abf6e146657cacf8593d31f3bb0a42dd18893fd1 /hosts | |
parent | dad139cd5b4d575d29aa5b3ace3003fc51332c10 (diff) |
added darwin
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/morpheus/configuration.nix | 23 |
1 files changed, 23 insertions, 0 deletions
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 @@ | |||
1 | { config, pkgs, ... }: | ||
2 | |||
3 | { | ||
4 | services.nix-daemon.enable = true; | ||
5 | users.users.shubh.home = "/Users/shubh"; | ||
6 | |||
7 | #homebrew = { | ||
8 | # enable = true; | ||
9 | # casks = [ "iterm2" "qtpass" ]; | ||
10 | #}; | ||
11 | |||
12 | #system.activationScripts.applications.text = pkgs.lib.mkForce ( | ||
13 | # '' | ||
14 | # echo "setting up ~/Applications..." >&2 | ||
15 | # rm -rf ~/Applications/Nix\ Apps | ||
16 | # mkdir -p ~/Applications/Nix\ Apps | ||
17 | # for app in $(find ${config.system.build.applications}/Applications -maxdepth 1 -type l); do | ||
18 | # src="$(/usr/bin/stat -f%Y "$app")" | ||
19 | # cp -r "$src" ~/Applications/Nix\ Apps | ||
20 | # done | ||
21 | # '' | ||
22 | #); | ||
23 | } | ||