diff options
Diffstat (limited to 'users/profiles/mac.nix')
| -rw-r--r-- | users/profiles/mac.nix | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/users/profiles/mac.nix b/users/profiles/mac.nix new file mode 100644 index 0000000..d889d21 --- /dev/null +++ b/users/profiles/mac.nix @@ -0,0 +1,73 @@ +{ pkgs, ... }: +{ + imports = [ + ./1password.nix + ./bat.nix + ./dev.nix + ./emacs.nix + ./fish.nix + ./git.nix + ./llm.nix + ./secrets.nix + ./ssh.nix + ./starship.nix + ]; + + home.packages = with pkgs; [ + age + bandwhich + bottom + coreutils + dust + jless + jq + procs + restic + ripgrep + shellcheck + tree + wget + yq + ]; + + programs.direnv = { + enable = true; + nix-direnv.enable = true; + config = { + global.disable_stdin = true; + global.strict_env = true; + }; + }; + + # an alternative to ls + programs.eza = { + enable = true; + icons = "never"; + enableFishIntegration = false; + extraOptions = [ + "--group-directories-first" + "--no-quotes" + "--git-ignore" + "--icons=never" + ]; + }; + + # an alternative to find + programs.fd = { + enable = true; + hidden = true; + ignores = [ + ".git/" + ".direnv/" + ]; + }; + + home.sessionVariables = { + LESS = "-FRSXM"; + LESSCHARSET = "utf-8"; + PAGER = "less"; + SHELL = "${pkgs.fish}/bin/fish"; + }; + + xdg.enable = true; +} |
