infrastructure/hosts/neodymium/home/wayland/hyprland/default.nix
Laureηt 8d0e07c180
♻️ (neodymium/home/wayland)
move hyprland and eww into sub modules
fix swayidle and swaylock configs
2023-10-16 20:22:54 +02:00

17 lines
500 B
Nix

{ pkgs, ... }: {
wayland.windowManager.hyprland = {
enable = true;
recommendedEnvironment = true;
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=element-desktop
exec-once=thunderbird
exec-once=webcord
exec-once=gnome-keyring-daemon --start --components=secrets
'' + builtins.readFile ./hyprland.conf;
};
}