using dwm, no config yet

This commit is contained in:
Zynh Ludwig 2024-05-31 01:50:59 -07:00
parent fdf5ce79bf
commit c399eb7b1a
2 changed files with 21 additions and 10 deletions

View file

@ -5,11 +5,14 @@
{ pkgs, inputs, ... }:
{
imports = [ inputs.home-manager.nixosModules.default ];
imports = [
inputs.home-manager.nixosModules.default
./modules/dwm.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# boot.loader.systemd-boot.enable = true;
# boot.loader.efi.canTouchEfiVariables = true;
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@ -46,8 +49,11 @@
services.xserver.enable = true;
# Enable the XFCE Desktop Environment.
services.xserver.displayManager.lightdm.enable = true;
services.xserver.desktopManager.budgie.enable = true;
# services.xserver.displayManager.lightdm.enable = true;
snowhawk.dwm.enable = true;
# services.xserver.desktopManager.budgie.enable = true;
# Configure keymap in X11
services.xserver = {

View file

@ -11,11 +11,16 @@ in
config = lib.mkIf cfg.enable {
services.xserver.windowManager.dwm = {
enable = true;
package = pkgs.dwm.overrideAttrs (oldAttrs: {
patches = [
../home/dwm/config.def.h.diff
];
});
# package = pkgs.dwm.overrideAttrs (oldAttrs: {
# patches = [
# ../home/dwm/config.def.h-6.4.diff
# ];
# });
};
environment.systemPackages = with pkgs; [
dmenu
];
};
}