On startup, Hyprland tries to set its own scheduling policy to SCHED_RR
for a boost in responsiveness when the system is under load. This requires
the cap_sys_nice capability to function.
The packaged user unit bakes the niri store path into ExecStart, so
any rebuild of niri (including transitive dependency bumps) makes
switch-to-configuration restart it, killing the graphical session.
Mirror the display-manager modules and mark the unit
restartIfChanged = false. Disable the default PATH injection so the
generated drop-in does not override the environment imported by
niri-session.
`config.system.build.manual` being present requires both
`config.documentation.enable` and `config.documentation.nixos.enable` to
be true, so this check needs to match that.
Add a `programs.atuin` module to enable atuin shell history
integration system-wide, without requiring home-manager.
Features:
- Shell integration for bash, zsh, and fish (enabled by default)
- Configuration via `settings` (written to /etc/atuin/config.toml,
using ATUIN_CONFIG_DIR since atuin does not support XDG_CONFIG_DIRS)
- Custom themes support
- Package selection via `package` option
- Additional flags via `flags` option
- Daemon option with systemd user service and socket activation
(Linux only), required for some configurations such as root-on-zfs
Example usage:
programs.atuin = {
enable = true;
settings = {
auto_sync = true;
search_mode = "prefix";
};
};
__fish_datadir was renamed to __fish_data_dir in fish 3.0b1, see the
release notes in fish-doc(1):
> fish 3.0b1 (released December 11, 2018)
> ...
> Notable non-backward compatible changes
> ...
> • The internal variables __fish_datadir and __fish_sysconfdir are
> now known as __fish_data_dir and __fish_sysconf_dir respectively.
That this has kept working (?) all the while might possibly be an
indication that this could have been removed a little over seven years
ago.
With the release of fish 4.2.0 the contest of __fish_data_dir is also
no longer used (with the exception of HTML docs, and vendor_*.d), as
the standalone build mode is now enabled by default. Fish refers to
embedded files by prefixing them with "embedded:", see `$ type cd`:
`# Defined in embedded:functions/cd.fish @ line 5`.
This can be a fairly large bottleneck on slower systems, and as there
obviously are no useful shell completions generated from this man page
it can safely be ignored.
amesgen passed away in late 2025:
https://www.tweag.io/blog/2025-12-16-in-memoriam-amesgen/
Condolences to their family and friends.
This patch removes them from the meta.maintainers of packages.
I take over some of the packages they maintained, where I feel
qualified.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Moves shell init logic specific to bat-extras packages into the
extras packages themselves. The bat package itself is now only
reponsible for registering the bat-extras shell inits. Also uses finalAttrs.finalPackage to correctly handle overlays on bat-extra packages.
Release notes ("What's new"):
https://www.ibm.com/docs/en/storage-protect/8.2.1?topic=whats-new#r_wn_tsmserver__title__3
The package now needs `brotli` and `libnghttp2`.
Unfortunatelly, the vm test's OCR no longer recognizes
the version number in the information dialog box
(it sees "8.21.0" instead of "8.2.1.0").
I don't think relaxing that test makes any sense,
as OCR might fail in a million different ways.
So I just remove the version number check from the test.
lib.isPath only matches Nix path literals, not strings containing
store paths. When extraCss is set to a derivation's outPath (a string
like "/nix/store/..."), the condition falls through to the `text`
branch, writing the store path as literal CSS content instead of using
it as a file source.
Add lib.isStorePath to the condition so string store paths are
correctly handled via `source`.
Ref: https://github.com/nix-community/stylix/issues/2190