- 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
28 lines
550 B
Nix
28 lines
550 B
Nix
{ config, lib, pkgs, userSettings, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./default.nix
|
|
./lightdm.nix
|
|
./x11.nix
|
|
];
|
|
|
|
services.xserver.windowManager.dwm = {
|
|
enable = true;
|
|
package = pkgs.dwm.overrideAttrs {
|
|
src = (/home + "/${userSettings.username}" + /.config/dwm-flexipatch);
|
|
buildInputs = with pkgs; [
|
|
xorg.libX11.dev
|
|
xorg.libXinerama
|
|
xorg.libXft
|
|
xorg.libxcb
|
|
xorg.xcbutil
|
|
yajl
|
|
jsoncpp
|
|
];
|
|
};
|
|
};
|
|
|
|
services.xserver.displayManager.defaultSession = "none+dwm";
|
|
}
|