Switch back to Vim

- Change default editor back to vim since doom-emacs is broken at the
  moment
- Conditionally include emacs or vim nix files in configuration.nix
- User username to find dwm-flexipatch path on system
- Add tree and btop to miscellaneous system packages
- Add some cli tools like just and git to home-manager packages
- Add more XDG env vars for config and cache
This commit is contained in:
Sravan Balaji
2024-03-28 16:26:10 -04:00
parent cf7abb3e89
commit 7acdd41b11
9 changed files with 27 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, userSettings, ... }:
{
imports = [
@@ -10,7 +10,7 @@
services.xserver.windowManager.dwm = {
enable = true;
package = pkgs.dwm.overrideAttrs {
src = ~/.config/dwm-flexipatch;
src = (/home + "/${userSettings.username}" + /.config/dwm-flexipatch);
buildInputs = with pkgs; [
xorg.libX11.dev
xorg.libXinerama