From 75e21a7463c9b771c14140e040bc0091e01f039d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nina=20Chl=C3=B3e=20Kassandra=20Rei=C3=9F?= Date: Sun, 26 Jul 2026 12:24:08 +0200 Subject: [PATCH] Add hyprlua configuration --- .../window-manager/hyprlua.nix | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 desktop-environment/window-manager/hyprlua.nix diff --git a/desktop-environment/window-manager/hyprlua.nix b/desktop-environment/window-manager/hyprlua.nix new file mode 100644 index 0000000..c871bad --- /dev/null +++ b/desktop-environment/window-manager/hyprlua.nix @@ -0,0 +1,73 @@ +{ pkgs, lib, ... }: +let + dotfiles_hypr = pkgs.fetchgit { + url = "https://git.nichkara.eu/system/hyprlua"; + rev = "42cda0ea4707535ec21512543e4a147ef971be2d"; + sha256 = "sha256-l08epLZKCXaJ3N6MU25/FfuzEuiXjOn10tWYPBLNOsI="; + }; + + dotfiles_waybar = pkgs.fetchgit { + url = "https://git.nichkara.eu/dotfiles/waybar"; + rev = "cd3d5d8a97f9fbc1cc8a69fc9e570dfcf669dce7"; + sha256 = "sha256-FTpGumhxY6ChUXqnykO+aSJiFD4A80W0eqx7hXS9Iwc="; + }; + + dotfiles_wofi = pkgs.fetchgit { + url = "https://git.nichkara.eu/dotfiles/wofi.git"; + rev = "47bbe8a40de55871ad6106b2fa5df18d6ec77e39"; + sha256 = "sha256-lrQfc9nQinbd1hbf1WmLm8NMRqQKb1ti3v+074+Oo5Y="; + }; + + profile = import ../../profile.nix; +in +{ + + home.packages = with pkgs; [ + wofi + grim + swaynotificationcenter + swaylock + hyprpaper + lxsession + hyprshot + wayvnc + pamixer + pavucontrol + brightnessctl + python313Packages.requests + networkmanagerapplet + ]; + + wayland = { + windowManager = { + hyprland = { + enable = true; + xwayland.enable = true; + configType = "hyprlang"; + extraConfig = '' + exec-once = sleep 2 && nextcloud + ''; + }; + }; + }; + + programs.waybar = { + enable = true; + }; + + xdg.configFile."hypr" = { + source = dotfiles_hypr; + recursive = true; + }; + + xdg.configFile."waybar" = { + source = dotfiles_waybar; + recursive = true; + }; + + xdg.configFile."wofi" = { + source = dotfiles_wofi; + recursive = true; + }; + +}