xdg-desktop-portal 1.20.1 added support for searching all
directories in XDG_DATA_DIRS for portals:
bb37e260db
This made the NIX_XDG_DESKTOP_PORTAL_DIR patch redundant, since
NixOS already ensures /run/current-system/sw/share is on
XDG_DATA_DIRS.
The patch also does not compose well: it hardcodes a single
portal directory, so when both NixOS and home-manager set it,
home-manager's value overwrote NixOS's, breaking portal
discovery for anything only registered by NixOS (e.g. Cosmic
alongside a home-manager-configured Hyprland).
xdg-document-portal mounts a FUSE filesystem and libfuse expects /run/wrappers/bin/fusermount3. Enable programs.fuse with the portal now that FUSE is no longer enabled globally.
Closes#542790
Assisted-by: pi coding agent / Mika (OpenAI gpt-5.6-sol)
Suggested-by: Audrey Dutcher <audrey@rhelmot.io>
Add a module to lix which builds a machine configuration using lixs' new
TOML format.
Using this format is recommened, as it will get new features in the
future, which will be exclusvie to the TOML format and not be
back-ported to the legacy remote-builder format
Co-authored-by: grimmauld <grimmauld@grimmauld.de>
Previously the script would stop early without any explanation. Now it
continues to the point where the proper error message is printed, and then
exits with an error exit status.
This is the root cause of https://github.com/NixOS/nixpkgs/issues/380166
This was added in 825923a051 which does not look
correct to me. I checked my system and all relevant sub-directories of
`/etc/xdg/` are explicitly declared to be linked.
Since then people may have started depending on this, so this is
a breaking change.
This did not actually do anything when set to false.
Fixes https://github.com/NixOS/nixpkgs/issues/380166
I split this into two options that are independent of each other:
1. Whether to link the `systemPackages`' autostarts
2. Whether to enable their interpretation
(You can have interpretation of user-provided autostarts and the user could
interpret the system-provided autostarts.)
Also remove from enableAllTerminfo list.
Since vte: 0.82.3 → 0.84.0 custom patches applied to vte in termite are
broken. The package has been without upstream for 5 years for now.
18de7682e9https://github.com/NixOS/nixpkgs/issues/122929
Since e73170e38a, we no longer patch
systemd to prevent it resetting `PATH` for generators. Generators that
depended on this deviating behavior will no longer work, which
ironically includes the upstream `systemd-xdg-autostart-generator`.
Previously, generators would see systemd's actual environment, which
included environment variables set for the PAM session like `PATH`. To
preserve the old behavior *exactly*, we'd really want to be
replicating exactly what the `systemd-user` PAM service sets up, which
could technically include things other than just what we put in
`/etc/pam/environment`. But this is arguably a systemd bug (either
because `systemd-xdg-autostart-generator` shouldn't use the
generator's `PATH`, or because systemd should pass along the `PATH` it
got from PAM), so for now, we can keep it simple and fix it by
replicating what `/etc/pam/environment` does in `/etc/environment.d`.
`earlySetup` has to be `true` for fonts to be included in the initrd,
so we should not have the `FONT=` line in `/etc/vconsole.conf` when
they won't be there to set up.
`pkgs.glibcLocales` is null for musl systems, so
`options.i18n.glibcLocales` needs to also be nullable.
otherwise, the `.override` and subsequence path interpolations
fail for non-gnu systems.