infrastructure/home/wayland/hyprland/default.nix

17 lines
481 B
Nix
Raw Normal View History

2023-12-15 15:18:36 +00:00
{pkgs, ...}: {
wayland.windowManager.hyprland = {
enable = true;
2023-12-15 15:18:36 +00:00
extraConfig =
''
exec-once=env XDG_CACHE_HOME=/tmp eww open bar
exec-once=${pkgs.swaybg}/bin/swaybg -i ~/Pictures/wallpapers/kai-oberhauser-unsplash.jpg
exec-once=mako
exec-once=thunderbird
exec-once=wl-paste --watch cliphist store
exec-once=gnome-keyring-daemon --start --components=secrets
''
+ builtins.readFile ./hyprland.conf;
};
}