add hyprland module and i dont know what i changed in xmonad
This commit is contained in:
parent
d7695ccc6a
commit
9c81de9bcf
2 changed files with 23 additions and 5 deletions
18
modules/desktop/hyprland/default.nix
Normal file
18
modules/desktop/hyprland/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{ outputs, options, config, lib, pkgs, ...}:
|
||||||
|
with lib;
|
||||||
|
let
|
||||||
|
cfg = config.modules.desktop.hyprland;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.modules.desktop.hyprland = {
|
||||||
|
enable = mkEnableOption false;
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
programs.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
nvidiaPatches = true;
|
||||||
|
xwayland = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue