diff options
Diffstat (limited to 'nix/profiles/home-manager/work.nix')
| -rw-r--r-- | nix/profiles/home-manager/work.nix | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/nix/profiles/home-manager/work.nix b/nix/profiles/home-manager/work.nix new file mode 100644 index 0000000..d9b0dab --- /dev/null +++ b/nix/profiles/home-manager/work.nix @@ -0,0 +1,53 @@ +{ pkgs, ... }: { + + home.stateVersion = "23.05"; + + imports = [ + ./dev.nix + ./firefox.nix + ./git.nix + ./ssh.nix + ./zsh.nix + ]; + + home.packages = with pkgs; [ + # general shell utils + direnv + ripgrep + tree + wget + + # data manipulation + jless + jq + yq + + # nix related + nil + nix-direnv + nixd + nixfmt + nixpkgs-fmt + rnix-lsp + ]; + + 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; + }; + }; + }; +} |
