blob: 3079faa8d5907accfe6434716c74170dff10972d (
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
32
33
34
35
36
37
|
{ 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
eww-wayland
socat
inotify-tools
brightnessctl
alsa-utils
slurp
grim
cliphist
material-design-icons
font-awesome
wtype
webcord
xdg-desktop-portal-hyprland
swaylock
];
wayland.windowManager.hyprland = {
enable = true;
package = pkgs.hyprland;
recommendedEnvironment = true;
inherit extraConfig;
};
}
|