feat: updated hyprland

This commit is contained in:
Nick 2025-01-10 04:17:54 -06:00
parent 241f8063cf
commit dc82cbe08d
8 changed files with 153 additions and 113 deletions

View file

@ -1,28 +1,33 @@
{
pkgs,
flake,
# pkgs,
# flake,
# config,
...
}: let
# hostname = config.networking.hostName;
# inherit (flake.config.machines.devices) desktop laptop;
configPath = ./config;
configImports = {
animations = import (configPath + /animations.nix);
bind = import (configPath + /bind.nix);
bindm = import (configPath + /bindm.nix);
binds = import (configPath + /binds.nix);
bindl = import (configPath + /bindl.nix);
# bindl =
# if hostname == laptop.name
# then import (configPath + /bindl.nix)
# else null;
decoration = import (configPath + /decoration.nix);
dwindle = import (configPath + /dwindle.nix);
exec-once = import (configPath + /exec-once.nix);
general = import (configPath + /general.nix);
input = import (configPath + /input.nix);
misc = import (configPath + /misc.nix);
windowrule = import (configPath + /windowrule.nix);
windowrulev2 = import (configPath + /windowrulev2.nix);
};
in {
wayland.windowManager.hyprland = {
enable = true;
package = flake.inputs.hyprland.packages.${pkgs.system}.hyprland;
# package = flake.inputs.hyprland.packages.${pkgs.system}.hyprland;
xwayland.enable = true;
systemd.enable = false;
settings = configImports;