20 lines
375 B
Nix
20 lines
375 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
inherit (lib) mkIf mkEnableOption;
|
|
cfg = config.snowhawk.dwm;
|
|
in
|
|
{
|
|
options.snowhawk.dwm = {
|
|
enable = mkEnableOption "niri home-manager module";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
# WM Stuff
|
|
xsession.numlock.enable = true;
|
|
services.unclutter.enable = true;
|
|
services.unclutter.package = pkgs.unclutter-xfixes;
|
|
};
|
|
}
|
|
|