diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-03-07 10:07:49 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-03-07 10:10:55 -0800 |
| commit | 318978655894aaa82fdf4c5de1eb9c58cb351a91 (patch) | |
| tree | c96d22c7f116fcf9c9ee56dd2c222f432540b0f5 /nix/profiles/home-manager/shell.nix | |
| parent | install seqstat on the work profile (diff) | |
| download | infra-318978655894aaa82fdf4c5de1eb9c58cb351a91.tar.gz | |
share configuration for shell utils
Diffstat (limited to '')
| -rw-r--r-- | nix/profiles/home-manager/shell.nix | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/nix/profiles/home-manager/shell.nix b/nix/profiles/home-manager/shell.nix new file mode 100644 index 0000000..3869d9b --- /dev/null +++ b/nix/profiles/home-manager/shell.nix @@ -0,0 +1,49 @@ +{ pkgs, self, ... }: { + + home.packages = with pkgs; [ + # shell utils + direnv + ripgrep + tree + wget + + # data manipulation + jless + jq + yq + + # nix related + nil + nix-direnv + nixd + nixfmt + nixpkgs-fmt + rnix-lsp + + # my own stuff + self.packages.${pkgs.system}.git-blame-stats + self.packages.${pkgs.system}.git-broom + self.packages.${pkgs.system}.ipconverter + self.packages.${pkgs.system}.seqstat + ]; + + home.sessionVariables = { + EDITOR = "emacsclient -a="; + VISUAL = "emacsclient -a="; + LESS = "-FRSXM"; + LESSCHARSET = "utf-8"; + PAGER = "less"; + }; + + programs = { + direnv = { + enable = true; + nix-direnv.enable = true; + enableZshIntegration = true; + config = { + global.disable_stdin = true; + global.strict_env = true; + }; + }; + }; +} |
