summaryrefslogtreecommitdiff
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
parent918f32dfcd291f9d5ae997bec5ea14c323c70d37 (diff)
darwin: working config
-rw-r--r--darwin/home.nix13
-rw-r--r--hosts/morpheus/configuration.nix33
2 files changed, 30 insertions, 16 deletions
diff --git a/darwin/home.nix b/darwin/home.nix
index 5e52de6..0bc3dd6 100644
--- a/darwin/home.nix
+++ b/darwin/home.nix
@@ -19,14 +19,25 @@
19 fzf 19 fzf
20 docker 20 docker
21 neovim 21 neovim
22 lf
22 pinentry_mac 23 pinentry_mac
23 # (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; }) 24 docker
25 kubectl
26 terraform
27 kops
28 k9s
29 # gui
30 zoom-us
31 slack
24 ]; 32 ];
25 33
26 programs.home-manager.enable = true; 34 programs.home-manager.enable = true;
27 programs.zsh = { 35 programs.zsh = {
28 enable = true; 36 enable = true;
29 enableCompletion = true; 37 enableCompletion = true;
38 #sessionVariables = {
39 # PATH = "/etc/profiles/per-user/shubh/bin:$PATH";
40 #};
30 shellAliases = { 41 shellAliases = {
31 ll = "ls -l"; 42 ll = "ls -l";
32 v = "nvim"; 43 v = "nvim";
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}