mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-08 05:49:25 -06:00
chore: init
This commit is contained in:
commit
1b2c1ea359
891 changed files with 37053 additions and 0 deletions
43
modules/home/gui/desktop/hypr/land/default.nix
Executable file
43
modules/home/gui/desktop/hypr/land/default.nix
Executable file
|
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
flake,
|
||||
config,
|
||||
osConfig,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (flake.config.aesthetics.themes.windowManager.enabled) hyprland;
|
||||
configPath = ./config;
|
||||
configImports = {
|
||||
animations = import (configPath + /animations.nix);
|
||||
bind = import (configPath + /bind.nix) { inherit flake osConfig; };
|
||||
bindm = import (configPath + /bindm.nix);
|
||||
binds = import (configPath + /binds.nix);
|
||||
# bindl = import (configPath + /bindl.nix);
|
||||
decoration = import (configPath + /decoration.nix) { inherit flake; };
|
||||
dwindle = import (configPath + /dwindle.nix);
|
||||
exec-once = import (configPath + /exec-once.nix);
|
||||
general = import (configPath + /general.nix) { inherit config flake; };
|
||||
input = import (configPath + /input.nix);
|
||||
misc = import (configPath + /misc.nix);
|
||||
windowrulev2 = import (configPath + /windowrulev2.nix);
|
||||
xwayland = import (configPath + /xwayland.nix);
|
||||
monitor = import (configPath + /monitor.nix) { inherit flake osConfig; };
|
||||
};
|
||||
in
|
||||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = hyprland;
|
||||
package = null;
|
||||
portalPackage = null;
|
||||
xwayland.enable = true;
|
||||
systemd = {
|
||||
enable = true;
|
||||
enableXdgAutostart = true;
|
||||
extraCommands = [
|
||||
"systemctl --user stop hyprland-session.target"
|
||||
"systemctl --user start hyprland-session.target"
|
||||
];
|
||||
};
|
||||
settings = configImports;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue