diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-07-21 08:21:06 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-07-21 08:30:16 -0700 |
| commit | 28b6dbb543ffbd3bfdc90a3b45835d784963175b (patch) | |
| tree | 5b918d96743426a5355884ae3cbc77247abf2b04 /nix/users/profiles/mac.nix | |
| parent | install helpers for docker (diff) | |
| download | infra-28b6dbb543ffbd3bfdc90a3b45835d784963175b.tar.gz | |
make the configuration more specific
Diffstat (limited to '')
| -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; } |
