infrastructure/home/wayland/hyprland/default.nix

21 lines
467 B
Nix

{
inputs,
pkgs,
...
}: {
wayland.windowManager.hyprland = {
enable = true;
extraConfig =
''
exec-once=env XDG_CACHE_HOME=/tmp eww open bar
exec-once=${pkgs.swaybg}/bin/swaybg -i ${inputs.wallpaper}
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;
};
}