diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2024-11-04 10:06:11 +0530 | 
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-11-04 10:06:11 +0530 | 
| commit | 53a39bc6f60b8d19964a64583fbf10088b7c8d20 (patch) | |
| tree | 48fbaf3ed1cf3450a570d373a95fb23db88636d2 /machines/vm/home.nix | |
| parent | b13a66ee6f5c5bad7425a2cdbb64ddb4267bcf9a (diff) | |
(update): dwl, vm config
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; +} | 
