diff options
Diffstat (limited to 'nix/users/profiles/mac.nix')
| -rw-r--r-- | nix/users/profiles/mac.nix | 62 |
1 files changed, 60 insertions, 2 deletions
diff --git a/nix/users/profiles/mac.nix b/nix/users/profiles/mac.nix index f27bcf3..d889d21 100644 --- a/nix/users/profiles/mac.nix +++ b/nix/users/profiles/mac.nix @@ -1,15 +1,73 @@ -{ ... }: +{ pkgs, ... }: { imports = [ ./1password.nix + ./bat.nix ./dev.nix ./emacs.nix + ./fish.nix ./git.nix ./llm.nix ./secrets.nix - ./shell.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; } |
