Desktop updates
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;
}
|