In theory it works but I want it to be a derivation so there's still work to do

This commit is contained in:
KoenDR06 2025-07-16 16:19:39 +02:00
parent 26b9dbf83c
commit eeb9ce59d9
3 changed files with 590 additions and 113 deletions

View file

@ -5,13 +5,14 @@
...
}: let
inherit (lib) mkIf;
cfg123 = config.horseman.wm.hyprland;
cfg = config.horseman.wm.hyprland;
in {
imports = [
./options.nix
./keybindings.nix
];
config = mkIf cfg123.enable {
config = mkIf cfg.enable {
programs.hyprland = {
enable = true;
xwayland.enable = true;
@ -47,12 +48,12 @@ in {
"hyprpaper"
"swaync"
];
env = [
"XCURSOR_SIZE,24"
"HYPRCURSOR_SIZE,24"
];
windowrules = [
"suppressevent maximize, class:.*"
"nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0"
@ -75,7 +76,7 @@ in {
resizeOnBorder = true;
allowTearing = false;
col.activeBorder = "rgba(b7bdf8ff)";
col.inactiveBorder = "rgba(b7bdf840)";