From 3d6af5dc1c31d481a458ce00550b193d35648e32 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 21 Jul 2025 12:49:14 -0700 Subject: move user configurations to top-level --- users/profiles/mac.nix | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 users/profiles/mac.nix (limited to 'users/profiles/mac.nix') 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; +} -- cgit v1.2.3