forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 055a94de3d3b792adfb6842bdddd8eab6384164fFiltered to flake.nixClear filter

2025-07-13

nix: replace nix-filter with lib.filesetBloxx12 · 30a9c6c
nix: replace nix-filter with lib.fileset

Co-authored-by: sodiboo <git@sodi.boo>

2025-07-15

2025-07-14

Add nushell completion support (#2009)Artrix · Unverified746a7e8
Add nushell completion support (#2009)

* Add nushell completion support

Adds `clap_complete_nushell` crate and implements it into the `niri
completions` command.

* Add nushell to flake.nix autocompletions

* Convert to `TryFrom`

* Fix linting errors

* Move types down

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>

2025-03-23

nix: update flake inputs and use new libgbmsodiboo · ec5112d
nix: update flake inputs and use new libgbm

fixes #1312
like
https://github.com/sodiboo/niri-flake/commit/0d54ea3f208f785b29f8396996b6bc8596d11a45

2025-03-17

nix: Install shell completions (#1280)Johannes Horner · Unverifiede11af08Browse files

2024-12-26

Fix nix flake for client-server tests (#896)Maximilian Huber · Unverifiedfa2bace
Fix nix flake for client-server tests (#896)

This was suggested by @sodiboo in
https://github.com/YaLTeR/niri/issues/894#issuecomment-2562153840 and
was copied from https://github.com/sodiboo/niri-flake/commit/350e6b68c70f5002a75e10521f5e66ace4b5eed1i

Signed-off-by: Maximilian Huber <gh@maxhbr.de>

2024-12-02

2024-11-02

2024-10-15

flake: use nightly rust-analyzer and add rust-src component (#735)sodiboo · Unverifiede4161be
flake: use nightly rust-analyzer and add rust-src component (#735)

this also improves the application of overlays to be more uniform; what
was previously done was just Wrong

2024-09-30

flake: use rust-overlay in dev shellseth · b3d4d4e
flake: use rust-overlay in dev shell

This allows `niri-visual-tests` to still be built and run in the dev
shell where it's necessary, as well as brings back the nightly `rustfmt`
used by the project

We can't use `fenix` again though as it doesn't wrap `ld` like nixpkgs
and rust-overlay do; without it, the way we link `dlopen()`'d libraries
breaks

2024-09-27

flake: improve packagingseth · b258fd6
flake: improve packaging

Some highlights include:

- Removing some unnecessary dependencies of the package itself
- Allowing for overriding the package
- Adding Cargo feature toggles
- Installing all niri-related resources
- Avoiding `LD_LIBRARY_PATH` hacks
flake: drop most external inputsseth · 3ab3e77
flake: drop most external inputs

Previously, inputs like Crane and Fenix were used to only build the
`niri` package. This isn't really required, and can easily be replaced
by nixpkgs' `rustPlatform` -- which will also lead to less dependencies
being pulled into user's lockfiles

2024-09-15

flake: update inputs and remove crane.inputs.nixpkgs overridesodiboo · 6ee5b5a
flake: update inputs and remove crane.inputs.nixpkgs override

the input was removed in https://github.com/ipetkov/crane/pull/692

2024-09-04

2024-08-26

flake: Remove maintainer commentIvan Molodetskikh · 598b27f
flake: Remove maintainer comment

Effectively other contributors maintain it now.

2024-08-24

fix `cargo run` on nixossodiboo · dd919fe
fix `cargo run` on nixos

this boils down to adding some extra dependencies to the shell
environment. they're also inherited from craneArgs because the ones from
the package are actually transformed into the WRONG outputs of the
packages. also refactors to use craneLib.devShell because it's somewhat
cleaner.

2024-08-08

2024-07-08

flake: update nix flakeSuyashtnt · f2290a4
flake: update nix flake

Signed-off-by: Suyashtnt <suyashtnt@gmail.com>

2024-04-29

Add `libXcursor` and `libXi` to nix flakeMichael Forster · 68ff36f
Add `libXcursor` and `libXi` to nix flake

In my tests this was necessary to develop Niri using non-NixOS Nix.
Otherwise Niri panics with this error message: called `Result::unwrap()`
on an `Err` value: EventLoopCreation(NotSupported(NotSupportedError)).

2024-03-01

Correctly handle parsing of Binds and DefaultColumnWidth (#234)sodiboo · Unverified24537ec
Correctly handle parsing of Binds and DefaultColumnWidth (#234)

* add dev dependencies to flake

* parse only one default-column-width

* require exactly one action per bind, and unique keys for binds

* use proper filename for config errors if possible

* fix duplicate keybinds after invalid action, lose some sanity

2024-02-10

2024-01-18

Add a config parse error notificationIvan Molodetskikh · fa9b3ed
Add a config parse error notification

We can't rely on a notification daemon being available, especially
during initial niri setup. So, render our own.

2024-01-17

2024-01-11

Add Nix Flake (#77)Bill Sun · Unverified236abd9
Add Nix Flake (#77)

* Add Nix Flake

Co-authored-by: Bryce Berger <bryce.z.berger@gmail.com>

* Describe nix flake in readme

* Add `niri-config` to build source list

* Add maintainer info

Add comment at top to indicate the Nix Flake file
is community maintained.

* Clarify Nix/NixOS README instructions

* Shorten Nix/NixOS build instructions

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>

* Move NixOS installation instruction to "Tip" section

---------

Co-authored-by: Bryce Berger <bryce.z.berger@gmail.com>
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>