Successful dwm-flexipatch build

This commit is contained in:
Sravan Balaji
2024-03-28 09:03:34 -04:00
parent a69d92e18b
commit 9fdaf9bdbd
2 changed files with 15 additions and 23 deletions

View File

@@ -7,29 +7,21 @@
./x11.nix
];
nixpkgs = {
overlays = [
(self: super: {
dwm = super.dwm.overrideAttrs (oldattrs: {
src = /home/sravan/.config/dwm-flexipatch;
buildInputs = with pkgs; [
xorg.libX11
xorg.libXinerama
xorg.libXft
xorg.libxcb
xorg.xcbutil
yajl
jsoncpp
];
});
})
];
services.xserver.windowManager.dwm = {
enable = true;
package = pkgs.dwm.overrideAttrs {
src = /home/sravan/.config/dwm-flexipatch;
buildInputs = with pkgs; [
xorg.libX11.dev
xorg.libXinerama
xorg.libXft
xorg.libxcb
xorg.xcbutil
yajl
jsoncpp
];
};
};
environment.systemPackages = with pkgs; [
polybar
];
services.xserver.windowManager.dwm.enable = true;
services.xserver.displayManager.defaultSession = "none+dwm";
}