diff options
Diffstat (limited to 'home/profiles/mac.nix')
| -rw-r--r-- | home/profiles/mac.nix | 51 |
1 files changed, 22 insertions, 29 deletions
diff --git a/home/profiles/mac.nix b/home/profiles/mac.nix index 4eb237b..01a891a 100644 --- a/home/profiles/mac.nix +++ b/home/profiles/mac.nix @@ -1,52 +1,45 @@ -{ self, pkgs, ... }: { + pkgs, + config, + ... +}: +let + + inherit (config.home) username; +in +{ + age = { + identityPaths = [ "${config.home.homeDirectory}/.ssh/agenix" ]; + secretsDir = "${config.home.homeDirectory}/.local/share/agenix"; + }; + imports = [ - "${self}/home/programs/alacritty" - "${self}/home/programs/bat.nix" - "${self}/home/programs/direnv.nix" - "${self}/home/programs/emacs" - "${self}/home/programs/eza.nix" - "${self}/home/programs/fd.nix" - "${self}/home/programs/firefox" - "${self}/home/programs/fish.nix" - "${self}/home/programs/gh.nix" - "${self}/home/programs/git.nix" - "${self}/home/programs/go.nix" - "${self}/home/programs/onepassword.nix" - "${self}/home/programs/rust.nix" - "${self}/home/programs/ssh.nix" - "${self}/home/programs/starship.nix" - "${self}/home/programs/tmux.nix" - ./secrets.nix + ./fish.nix + ./ssh.nix + ./onepassword.nix + ../programs/emacs + ../programs/firefox ]; + home.homeDirectory = "/Users/${username}"; + home.packages = with pkgs; [ age aider-chat bandwhich - basedpyright - bottom coreutils + delve dive # explore layers in docker images docker docker-credential-helpers - dust - jless - jq nil # nix lsp nix-direnv # integration with direnv nixfmt-rfc-style # new formatter procs - python3 restic - ripgrep - ruff shellcheck - tree - uv wget wireshark - yq ]; home.sessionVariables = { |
