Files
nixos-config/system/gui/dwm.nix
Sravan Balaji 7db963f519 Gui Reorg and More Programs
- Gui config reorganization
- Enable picom for dwm
- Install some utilities like arandr, autorandr, and unclutter-xfixes
  for dwm
- Add nerdfonts for FiraCode
- Remove conditional imports list syntax
- Add audio tools like playerctl and pavucontrol
- Enable polkit and add GNOME polkit
- Add more media programs like freecad, audacity, ani-cli, and calibre
- Add flameshot
2024-03-28 20:16:07 -04:00

49 lines
822 B
Nix

{ config, lib, pkgs, userSettings, ... }:
{
imports = [
./default.nix
];
services.xserver = {
enable = true;
xkb = {
layout = "us";
variant = "";
options = "";
};
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
];
};
};
displayManager = {
defaultSession = "none+dwm";
lightdm.enable = true;
};
};
services.picom.enable = true;
environment.systemPackages = with pkgs; [
arandr
autorandr
unclutter-xfixes
];
}