diff options
Diffstat (limited to 'machines/vm/home.nix')
| -rw-r--r-- | machines/vm/home.nix | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/machines/vm/home.nix b/machines/vm/home.nix new file mode 100644 index 0000000..7aca730 --- /dev/null +++ b/machines/vm/home.nix @@ -0,0 +1,49 @@ +{ pkgs, ... }: + +{ + nixpkgs.config.allowUnfree = true; + + home = { + username = "compromyse"; + homeDirectory = "/home/compromyse"; + }; + + home.packages = with pkgs; [ + wget + + tmux + fzf + fd + ripgrep + + unzip + zip + + git-lfs + ]; + + programs = { + direnv = { + enable = true; + enableBashIntegration = true; + nix-direnv.enable = true; + }; + + bash.enable = true; + }; + + programs.bash.initExtra = '' + . "$HOME/.nix-profile/etc/profile.d/nix.sh" + alias ls="ls --color=auto" + ''; + + imports = (map (path: ../../config/${path}) [ + "bash.nix" + "dotfiles.nix" + "git" + "nvim" + ]); + + home.stateVersion = "23.11"; + programs.home-manager.enable = true; +} |
