Amadej Kastelic
b496e2c718
nix/module: load plugins using exec-once ( #9836 )
2025-04-03 10:43:06 +03:00
e4abf26069
Nix: add changes from Nixpkgs derivation
2025-03-23 18:19:34 +02:00
André Silva
f4315db50f
nix: mesa -> libgbm ( #9612 )
...
d209d800b7
2025-03-14 20:24:55 +02:00
André Silva
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
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
Soliprem
002cd91fbf
nix: wp-protocol version bump ( #9494 )
2025-02-26 19:36:24 +02:00
f2d43e5f21
nix/overlays: add wayland-protocols overlay
2025-02-10 20:17:29 +02:00
micha4w
97a24ec6f3
Nix: change meson buildtype from debugoptimized to debug
2025-02-02 14:32:03 +02:00
Charlie Root
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
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 Vanhoutte
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
68a5842f06
Nix: fix TAG substitution
2024-12-23 20:07:12 +02:00
Austin Horstman
e340e9f431
nix/meson: add re2 dependency ( #8738 )
...
* nix/default: add re2 dependency
* meson: add re2
2024-12-16 20:22:36 +01:00
Vaxry
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
10a4365f7d
Nix: create TAG info from version
2024-12-06 10:16:18 +02:00
Vaxry
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
b88e4a1a9a
Nix: disable uwsm desktop file installation
...
Will be enabled in the NixOS module.
2024-11-11 16:52:42 +02:00
943c7d18cc
meson: autodetect systemd
2024-11-11 16:52:42 +02:00
e58e97b0a3
Nix: build aquamarine and hyprutils in debug when using hyprland-debug
2024-11-07 10:54:52 +02:00
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 Manuel
46d990f1b6
feat: add a custom made treewide formatter ( #7992 )
2024-10-07 21:49:19 +03:00
f75f8efb1b
Meson: add tracy dependency
2024-09-27 00:07:52 +03:00
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
14942bca60
Nix: re-add hyprland-protocols
2024-09-27 00:07:52 +03:00
Jörg Thalheim
32a8caf7e7
Nix: also test cross build
2024-09-26 21:17:07 +03:00
8579066c7a
Nix: clean up derivation
2024-09-21 14:27:13 +03:00
9856378384
Nix: use mold linker
2024-09-19 18:53:34 +03:00
b248d59713
Nix: fix meson PCH flag
2024-09-18 19:43:56 +03:00
cbc0ff6ec0
Nix: disable PCH
2024-09-18 18:54:00 +03:00
diniamo
c35ed8363f
nix: adapt cmake options
2024-09-13 19:44:38 +03:00
diniamo
d505b33665
nix: use meson
2024-09-13 17:54:49 +03:00
davc0n
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
c80457be02
nix: add COMMITS var
2024-09-05 21:26:12 +03:00
8f9887b0c9
Nix: remove unused dependencies
2024-09-02 23:48:58 +03:00
5b1375141b
flake.lock: update
2024-09-01 17:18:57 +03:00
4fa63104c9
Nix: exclude wayland-scanner until next staging merge
2024-08-22 14:30:10 +03:00
1b1ecf77e0
Nix: include xcursor regardless of xwayland
2024-08-21 22:37:28 +03:00
Vaxry
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
752604cfe9
Nix: remove meson (used by wlroots)
2024-07-23 20:40:33 +03:00
928d1dd38a
CMake, Meson, Nix: replace props.json with VERSION
2024-07-21 19:24:17 +03:00
Vaxry
016da234d0
Core: Move to aquamarine ( #6608 )
...
Moves Hyprland from wlroots to aquamarine for the backend.
---------
Signed-off-by: Vaxry <vaxry@vaxry.net>
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
Co-authored-by: Jan Beich <jbeich@FreeBSD.org>
Co-authored-by: vaxerski <vaxerski@users.noreply.github.com>
Co-authored-by: UjinT34 <41110182+UjinT34@users.noreply.github.com>
Co-authored-by: Tom Englund <tomenglund26@gmail.com>
Co-authored-by: Ikalco <73481042+ikalco@users.noreply.github.com>
Co-authored-by: diniamo <diniamo53@gmail.com>
2024-07-21 13:09:54 +02:00
Mihai Fufezan
da956c8a97
config: use hyprutils helper ( #6891 )
...
* flake.lock: update
nix/overlays: remove xwayland overlay (merged upstream)
* config: use hyprutils helper
* flake.lock: update
* CMake & Meson: update required versions
2024-07-16 21:23:37 +02:00
14ab0ecc5e
Nix: don't strip in debug builds
...
Strip in Release builds, as the non-stripped binary is almost 500MB.
2024-06-17 13:14:27 +03:00
9cb3bf1cac
Nix: tidy up derivation
2024-06-17 13:03:59 +03:00
Vaxry
8c64a4bad7
core: move to hyprutils for utils ( #6385 )
...
* core: move to hyprutils for utils
Nix: add hyprutils dep
* Meson: add hyprutils dep
* flake.lock: update
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-06-11 17:17:45 +02:00
7173f0c9e7
flake.lock: update
...
nix/overlays: remove merged wayland-protocols overlay
Fixes #6061
2024-05-17 00:03:25 +03:00
6be765b7a1
Nix: fix pkgconfig prefix
2024-05-12 17:49:50 +03:00
André Silva
a8ab1b1679
nix: build improvements ( #5952 )
...
* scripts: allow using existing variable values in generateVersion.sh
* nix: populate versioning variables
* nix: remove unused meson input
* nix: remove unnecessary hyprland-protocols dependency
* Nix: remove nixConfig from flake
It's more annoying than helpful.
* CI/Nix: fix PR build failure
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-05-11 01:51:53 +03:00
c7fbc30bfd
Nix: add missing deps
...
CMake used to warn about these deps so I've added them.
Also propagates wlroots' nativeBuildInputs.
2024-05-05 20:34:14 +03:00
f15513309b
Nix: use CMake for builds instead of Meson
...
Build using submodules instead of patching the build process and using
Nix derivations of the subprojects.
From this commit on, you'll have to change the Hyprland flake url to
`git+https://github.com/hyprwm/Hyprland?submodules=1 `
2024-05-05 16:30:39 +03:00