From d19be69fbe421fd2b6598a93414146389ed75491 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Mon, 25 Sep 2023 23:28:12 -0700 Subject: added darwin --- darwin/home.nix | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 darwin/home.nix (limited to 'darwin') diff --git a/darwin/home.nix b/darwin/home.nix new file mode 100644 index 0000000..5e52de6 --- /dev/null +++ b/darwin/home.nix @@ -0,0 +1,56 @@ +{ config, pkgs, ... }: + +{ + home.username = "shubh"; + home.homeDirectory = "/Users/shubh"; + + # You should not change this value, even if you update Home Manager. If you do + # want to update the value, then make sure to first check the Home Manager + # release notes. + home.stateVersion = "23.05"; + + home.packages = with pkgs; [ + git + unzip + wget + gnupg + pass + tmux + fzf + docker + neovim + pinentry_mac + # (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; }) + ]; + + programs.home-manager.enable = true; + programs.zsh = { + enable = true; + enableCompletion = true; + shellAliases = { + ll = "ls -l"; + v = "nvim"; + o = "xdg-open"; + t = "tmux"; + }; + oh-my-zsh = { + enable = true; + plugins = [ "git" "kubectl" "sudo" ]; + theme = "robbyrussell"; + }; + }; + programs.fzf = { + enable = true; + enableZshIntegration = true; + defaultOptions = [ "--height 40%" "--layout=reverse" "--border" ]; + }; + programs.git = { + enable = true; + userEmail = "ssaini@fispan.com"; + userName = "Shubham Saini"; + signing = { + key = "E0404DDE4BCF9DB5"; + signByDefault = true; + }; + }; +} -- cgit v1.2.3