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

View file

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