diff options
Diffstat (limited to 'home-manager/laptop/hyprland/default.nix')
| -rw-r--r-- | home-manager/laptop/hyprland/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/home-manager/laptop/hyprland/default.nix b/home-manager/laptop/hyprland/default.nix new file mode 100644 index 0000000..9f911e1 --- /dev/null +++ b/home-manager/laptop/hyprland/default.nix @@ -0,0 +1,27 @@ +{ pkgs, ... }: +let + configFile = builtins.readFile ./hyprland.conf; + scripts = '' + $scripts=${./scripts} + ''; + overrides = '' + exec-once=swww init && swww img ${./cat.png} + ''; + extraConfig = scripts + configFile + overrides; + +in +{ + home.packages = with pkgs; [ + swww + brightnessctl + slurp + grim + cliphist + xdg-desktop-portal-hyprland + ]; + wayland.windowManager.hyprland = { + enable = true; + package = pkgs.hyprland; + inherit extraConfig; + }; +} |
