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

@@ -35,7 +35,7 @@
email = "balajsra@umich.edu"; # Email (used for certain configurations)
dotfilesDir = "~/.dotfiles"; # Absolute path of the local repo
theme = "dracula"; # Selected theme from themes directory
desktop = "gnome"; # Selected window manager or desktop environment
desktop = "dwm"; # Selected window manager or desktop environment
desktopType = "x11"; # x11 or wayland
browser = "vivaldi"; # Default browser
term = "kitty"; # Default terminal command

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";
}