From 53a39bc6f60b8d19964a64583fbf10088b7c8d20 Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Mon, 4 Nov 2024 10:06:11 +0530 Subject: (update): dwl, vm config --- machines/vm/home.nix | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 machines/vm/home.nix (limited to 'machines/vm/home.nix') 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; +} -- cgit v1.2.3