summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-05-06 22:45:07 +0200
committerRory& <root@rory.gay>2025-05-06 22:45:07 +0200
commitab3786dab34261fe64b3179ec5f828e61a333bc4 (patch)
tree716b66321cb66bdc1a77f8744c02765cb6045199
parentLaptop changes (diff)
downloadRory-Open-Architecture-ab3786dab34261fe64b3179ec5f828e61a333bc4.tar.xz
Desktop updates
-rwxr-xr-xflake.nix3
-rw-r--r--host/Rory-desktop/optional/gui/wayland.nix18
2 files changed, 21 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix

index 34e1193..e71e348 100755 --- a/flake.nix +++ b/flake.nix
@@ -234,6 +234,9 @@ inherit (inputs) mtxclientSrc; inherit (inputs) nhekoSrc; inherit nixpkgs-stable; + + inherit hyprland; + inherit hy3; }; }; Rory-laptop = nixpkgs.lib.nixosSystem { diff --git a/host/Rory-desktop/optional/gui/wayland.nix b/host/Rory-desktop/optional/gui/wayland.nix
index eac6391..a8f7db7 100644 --- a/host/Rory-desktop/optional/gui/wayland.nix +++ b/host/Rory-desktop/optional/gui/wayland.nix
@@ -1,5 +1,7 @@ { pkgs, + hyprland, + hy3, ... }: @@ -33,5 +35,21 @@ ]; }; + programs.hyprland = { + enable = true; + package = hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; + }; + + programs.hyprlock.enable = true; + environment.systemPackages = with pkgs;[ + wmenu + ]; + + environment.etc."hyprPlugins" = { + text = '' + plugin = ${hy3.packages.${pkgs.stdenv.hostPlatform.system}.hy3}/lib/libhy3.so + ''; + }; + xdg.portal.wlr.enable = true; }