diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-03-04 16:17:39 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-03-04 16:17:39 -0800 |
| commit | d048a7b6a225f9e30b2a95e9461f4c267eb29af0 (patch) | |
| tree | e7da6bcb7901d4c0daae50b59fa5c2b02e89b51d /nix/profiles/home-manager/work.nix | |
| parent | don't sign git commits (diff) | |
| download | infra-d048a7b6a225f9e30b2a95e9461f4c267eb29af0.tar.gz | |
add configuration for my work machine
Diffstat (limited to '')
| -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; + }; + }; + }; +} |
