summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorShubham Saini <ssaini@fispan.com>2023-09-26 07:54:31 +0000
committerShubham Saini <ssaini@fispan.com>2023-09-26 07:54:31 +0000
commit8914f97f2c7232c31bf07f0c8e87fcda12194b5f (patch)
tree45e2bdd588847a63d6553b7726eb51107b3ac27b /hosts
parent918f32dfcd291f9d5ae997bec5ea14c323c70d37 (diff)
darwin: working config
Diffstat (limited to 'hosts')
-rw-r--r--hosts/morpheus/configuration.nix33
1 files changed, 18 insertions, 15 deletions
diff --git a/hosts/morpheus/configuration.nix b/hosts/morpheus/configuration.nix
index dc1edb3..c3667f1 100644
--- a/hosts/morpheus/configuration.nix
+++ b/hosts/morpheus/configuration.nix
@@ -3,21 +3,24 @@
3{ 3{
4 services.nix-daemon.enable = true; 4 services.nix-daemon.enable = true;
5 users.users.shubh.home = "/Users/shubh"; 5 users.users.shubh.home = "/Users/shubh";
6 programs.zsh.enable = true;
7 nixpkgs.config.allowUnfree = true;
8 security.pki.certificateFiles = [ "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" "/etc/ssl/certs/zscaler.pem" ];
6 9
7 #homebrew = { 10 homebrew = {
8 # enable = true; 11 enable = true;
9 # casks = [ "iterm2" "qtpass" ]; 12 casks = [ "brave-browser" "karabiner-elements" ];
10 #}; 13 };
11 14
12 #system.activationScripts.applications.text = pkgs.lib.mkForce ( 15 system.activationScripts.applications.text = pkgs.lib.mkForce (
13 # '' 16 ''
14 # echo "setting up ~/Applications..." >&2 17 echo "setting up ~/Applications..." >&2
15 # rm -rf ~/Applications/Nix\ Apps 18 rm -rf ~/Applications/Nix\ Apps
16 # mkdir -p ~/Applications/Nix\ Apps 19 mkdir -p ~/Applications/Nix\ Apps
17 # for app in $(find ${config.system.build.applications}/Applications -maxdepth 1 -type l); do 20 for app in $(find ${config.system.build.applications}/Applications -maxdepth 1 -type l); do
18 # src="$(/usr/bin/stat -f%Y "$app")" 21 src="$(/usr/bin/stat -f%Y "$app")"
19 # cp -r "$src" ~/Applications/Nix\ Apps 22 cp -r "$src" ~/Applications/Nix\ Apps
20 # done 23 done
21 # '' 24 ''
22 #); 25 );
23} 26}