Attempt at switching from GNOME to dwm (not working)

This commit is contained in:
Sravan Balaji
2024-03-27 20:26:37 -04:00
parent 87e1df7818
commit a59fa6ec1e
2 changed files with 20 additions and 1 deletions

View File

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

View File

@ -7,6 +7,25 @@
./x11.nix ./x11.nix
]; ];
nixpkgs = {
overlays = [
(self: super: {
dwm = super.dwm.overrideAttrs (oldattrs: {
src = fetchGit {
url = "https://gitea.sravanbalaji.com/sravan/dwm-flexipatch.git";
rev = "23b55eaf9cd9c08d4c14f7957675ae056e358e32";
};
buildInputs = with pkgs; [
xorg.libX11
xorg.libXinerama
xorg.libXft
yajl
];
});
})
];
};
services.xserver.windowManager.dwm.enable = true; services.xserver.windowManager.dwm.enable = true;
services.xserver.displayManager.defaultSession = "none+dwm"; services.xserver.displayManager.defaultSession = "none+dwm";
} }