258 Commits
Author SHA1 Message Date
ec26b753a2 descriptions: fix bad json output (#11350)
---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2025-08-06 16:28:07 +02:00
Karun SandhuandMihai Fufezan 873914a2a6 CI/Nix: also check for qt version in update script 2025-07-22 09:56:43 +03:00
Mihai Fufezan 6a5f4f5954 Nix: fix overlay application
Should fix hyprwm/hyprland-plugins#412
2025-07-05 14:18:38 +03:00
Mihai FufezanandGitHub 90c8609cbb CMake: disable tests by default (#10899) 2025-07-01 23:18:34 +02:00
3d6476c902 Core: Add a test suite (#9297)
Adds a test suite for testing hyprland's features with a runtime tester

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2025-06-26 19:43:39 +02:00
Mihai Fufezan 5a348fb7df Nix: filter src using fileset
Allows reusing already-built derivation when changing files outside the
ones defined in the fileset.
2025-06-24 21:39:42 +03:00
Mihai Fufezan a301d54df8 treewide: hyprland.org -> hypr.land 2025-06-20 01:49:20 +03:00
mitsuruandMihai Fufezan af2fdb5d58 nix: use gcc15
resolves Nix build/CI failures introduced in 9190443
bumps flake.lock as gcc15Stdenv wasn't available at the pinned version
of nixpkgs
2025-05-31 01:45:34 +03:00
Mihai Fufezan bd4733a0ff flake.lock: update
nix/overlays: remove wayland-protocols overlay. PR landed in master a while ago
2025-05-22 18:02:20 +03:00
5ceb0ec15d core: drop the legacy renderer (#10408)
* core: drop the legacy renderer

the legacy renderer is broken and barely used, drop it.

* Nix: drop support for legacyRenderer

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2025-05-15 10:13:24 +01:00
Mihai Fufezan 3577a6be31 nix/overlays: add w-p 1.43 2025-04-22 11:03:27 +03:00
Amadej KastelicandGitHub b496e2c718 nix/module: load plugins using exec-once (#9836) 2025-04-03 10:43:06 +03:00
Mihai Fufezan e4abf26069 Nix: add changes from Nixpkgs derivation 2025-03-23 18:19:34 +02:00
André SilvaandGitHub f4315db50f nix: mesa -> libgbm (#9612)
https://github.com/NixOS/nixpkgs/commit/d209d800b7df2d4b05ea1266b14a47cba5da129b
2025-03-14 20:24:55 +02:00
c754d7963f nix: remove wayland-protocols overlay and bump flake (#9613)
* flake.lock: update nixpkgs

* nix: remove wayland-protocols bump

* flake.lock: update

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2025-03-14 09:14:59 +02:00
Mihai FufezanandGitHub 905ca39bc9 nix/module: toHyprconf -> toHyprlang (#9221)
* nix/module: toHyprconf -> toHyprlang

Updated generator that will end up living in Nixpkgs' `lib/generators`.

* nix/module: use xdph package directly

The downstream module already applies hyprland's
finalPackage to the portalPackage.

* new lib

* lib: add flattenAttrs, remove category processing

Flattening attributes means we no longer need to process categories
separately. For all intents and purposes, they do not exist.

Simplify the codebase once again, while introducing an easy to grasp
recursive function.

Add a bit of documentation for toHyprlang, though I doubt it's clear
enough even now. Still needs proper NixDoc.

* lib: add proper NixDoc

* nix/lib: inherit from lib
2025-03-02 15:41:49 +02:00
SolipremandGitHub 002cd91fbf nix: wp-protocol version bump (#9494) 2025-02-26 19:36:24 +02:00
Mihai Fufezan f2d43e5f21 nix/overlays: add wayland-protocols overlay 2025-02-10 20:17:29 +02:00
micha4wandMihai Fufezan 97a24ec6f3 Nix: change meson buildtype from debugoptimized to debug 2025-02-02 14:32:03 +02:00
Charlie RootandGitHub f56153a9c1 nix/module.nix: expand nixos module for configuring hyprland
Expand the nixos module to be able to configure hyprland, just like the
current home-manager module does.
2025-01-18 12:48:38 +02:00
Mihai Fufezan a36fa5c229 Nix: disable hyprpm
It does not work properly on Nix anyway. If you were using hyprpm in
some way before, please switch to using the `plugins` option in the
HM module (and the upcoming option in the NixOS module, soon™).
2025-01-18 11:39:44 +02:00
Tuur VanhoutteandGitHub 43ca66779b hyprpm: use glaze to parse hyprctl plugin list (#8812)
* Use std::filesystem::path in hyprpm DataState to avoid concatenating strings with (folder + "/" + file)
* Added getPluginStates helper method in DataState
* Small clang-tidy improvements
2024-12-27 14:40:46 +00:00
Mihai Fufezan 68a5842f06 Nix: fix TAG substitution 2024-12-23 20:07:12 +02:00
Austin HorstmanandGitHub e340e9f431 nix/meson: add re2 dependency (#8738)
* nix/default: add re2 dependency

* meson: add re2
2024-12-16 20:22:36 +01:00
b1e5cc66bd core: Add support for hyprqtutils' update screen (#8651)
* Nix: add hyprland-qtutils to PATH

* flake.lock: update

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-12-06 15:45:02 +01:00
Mihai Fufezan 10a4365f7d Nix: create TAG info from version 2024-12-06 10:16:18 +02:00
320144ae72 core: move colorspace handling to oklab (#8635)
* Meson: add hyprgraphics

* Nix: add hyprgraphics

* CI/setup_base: get hyprgraphics-git

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-12-03 18:58:24 +00:00
Mihai Fufezan b88e4a1a9a Nix: disable uwsm desktop file installation
Will be enabled in the NixOS module.
2024-11-11 16:52:42 +02:00
Mihai Fufezan 943c7d18cc meson: autodetect systemd 2024-11-11 16:52:42 +02:00
Mihai Fufezan e58e97b0a3 Nix: build aquamarine and hyprutils in debug when using hyprland-debug 2024-11-07 10:54:52 +02:00
Mihai Fufezan 44899cd548 nix/overlays: fix xdph overlay
Partial fix for https://github.com/hyprwm/Hyprland/issues/8343
2024-11-04 19:43:25 +02:00
Artur ManuelandGitHub 46d990f1b6 feat: add a custom made treewide formatter (#7992) 2024-10-07 21:49:19 +03:00
Mihai Fufezan f75f8efb1b Meson: add tracy dependency 2024-09-27 00:07:52 +03:00
Mihai Fufezan 27211c71e9 Meson: try to find udis86 through pkgconfig, fallback to subproject
Only the fork provides a .pc file, so there's no risk of linking the wrong
lib version. If pkg-config can't find it (most cases), fall back to using
the subproject through the wrap file.
2024-09-27 00:07:52 +03:00
Mihai Fufezan 14942bca60 Nix: re-add hyprland-protocols 2024-09-27 00:07:52 +03:00
Jörg ThalheimandMihai Fufezan 32a8caf7e7 Nix: also test cross build 2024-09-26 21:17:07 +03:00
Mihai Fufezan 8579066c7a Nix: clean up derivation 2024-09-21 14:27:13 +03:00
Mihai Fufezan 9856378384 Nix: use mold linker 2024-09-19 18:53:34 +03:00
Mihai Fufezan b248d59713 Nix: fix meson PCH flag 2024-09-18 19:43:56 +03:00
Mihai Fufezan cbc0ff6ec0 Nix: disable PCH 2024-09-18 18:54:00 +03:00
diniamoandMihai Fufezan c35ed8363f nix: adapt cmake options 2024-09-13 19:44:38 +03:00
diniamoandMihai Fufezan d505b33665 nix: use meson 2024-09-13 17:54:49 +03:00
c67b257e51 build: Set cmake_minimum_required to version 3.30 (#7709)
* build: Set cmake_minimum_required to version 3.30

* Nix: add patch for CMake min ver

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-09-10 11:06:37 +01:00
Mihai Fufezan c80457be02 nix: add COMMITS var 2024-09-05 21:26:12 +03:00
Mihai Fufezan 8f9887b0c9 Nix: remove unused dependencies 2024-09-02 23:48:58 +03:00
Mihai Fufezan 5b1375141b flake.lock: update 2024-09-01 17:18:57 +03:00
Mihai Fufezan 4fa63104c9 Nix: exclude wayland-scanner until next staging merge 2024-08-22 14:30:10 +03:00
Mihai Fufezan 1b1ecf77e0 Nix: include xcursor regardless of xwayland 2024-08-21 22:37:28 +03:00
83a334f97d core: Move to C++26 and use native_handle to CLOEXEC the debug fd (#7219)
Requires GCC >= 14 / Clang >= 18

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-08-08 11:54:41 +02:00
Mihai Fufezan 752604cfe9 Nix: remove meson (used by wlroots) 2024-07-23 20:40:33 +03:00