blob: 42e97a04966de85c74a45ab472b9d7716a937bc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{ pkgs, config, ... }:
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
wtype
webcord
xdg-desktop-portal-hyprland
swaylock
];
wayland.windowManager.hyprland = {
enable = true;
package = pkgs.hyprland;
recommendedEnvironment = true;
inherit extraConfig;
};
}
|