Commit Graph

1594 Commits

Author SHA1 Message Date
Minijackson
f699059622 treewide: remove minijackson maintenanceship of some pkgs & modules
Since I'm not personnaly using those packages & modules anymore,
I haven't been active in maintening them…
2026-08-07 18:36:37 +02:00
Peter Bynum
058289cc6a nixos/nix: Move systemPackages, tmpfiles, and build users to settings module 2026-07-28 09:55:31 -04:00
Peter Bynum
3a84c13b45 nixos/nix: Move nix.enable and nix.package to settings module 2026-07-28 09:23:32 -04:00
Grimmauld
5ab6767a82 nixos/lix: init buildMachines (#537162) 2026-07-26 21:05:00 +00:00
Audrey Dutcher
a515e75f6b nixos/xdg: enable fuse for desktop portals (#543168) 2026-07-24 05:03:17 +00:00
Rasmus Enevoldsen
b98f9d8352 xdg-desktop-portal: remove NIX_XDG_DESKTOP_PORTAL_DIR patch
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).
2026-07-23 13:15:51 +02:00
Gerhard Schwanzer
e4d9d6766f nixos/xdg: enable fuse for desktop portals
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>
2026-07-18 11:08:29 +02:00
rootile
2619c3a59a nixos/lix: init buildMachines
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>
2026-07-06 13:41:34 +02:00
Atemu
b6f6b863c8 nixos/swap: trigger device readiness (#530286) 2026-06-26 02:05:19 +00:00
Vladimír Čunát
ef2a8db5ea Revert "nixos/system-path: don't link /etc/xdg/ uncoditionally" (#534752) 2026-06-24 10:19:22 +00:00
Vladimír Čunát
105327541b Reapply "staging-nixos merge for 2026-06-19" (#534864)
This reverts commit 532f984da0, reversing
changes made to 421ceaeef8.
2026-06-24 12:17:06 +02:00
Vladimír Čunát
a6c3b1d396 Merge master into staging-nixos 2026-06-24 12:16:37 +02:00
Vladimír Čunát
6e628a4f79 Revert "staging-nixos merge for 2026-06-19" 2026-06-24 10:55:53 +02:00
Atemu
b12656477c Revert "nixos/system-path: don't link /etc/xdg/ uncoditionally"
This created more breakage than expected. Revert until the critical modules are
patched.

This reverts commit 603fc91c33.
2026-06-24 00:43:16 +02:00
Yureka
1015b12ba5 nixos: fix message on failure to determine mmap ASLR entropy (#533249) 2026-06-22 09:25:55 +00:00
Yureka
d8b16de49d nixos: fix message on failure to determine mmap ASLR entropy
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.
2026-06-19 12:18:13 +02:00
Atemu
0354e8b747 nixos/system-path: don't link /etc/xdg/ uncoditionally (#530382) 2026-06-18 00:37:41 +00:00
Atemu
030a237777 nixos/xdg/autostart: actually disable generation of autostart units (#530372) 2026-06-15 13:37:29 +00:00
gabby
1d12166a6e fontconfig: add support for aliases (#524628) 2026-06-14 17:08:27 +00:00
Siren
b87e5beca2 nixos/fontconfig: concatStringsSep -> concatStrings
Co-authored-by: gabby <GenuineGabriella@gmail.com>
2026-06-13 16:01:01 -07:00
Siren
134e32b7c7 nixos/fontconfig: concatStringsSep -> concatMapStrings
Co-authored-by: gabby <GenuineGabriella@gmail.com>
2026-06-13 16:00:28 -07:00
Felix Bargfeldt
e00f896b13 nixos/malloc: check legacy scudo options exist before use (#529628) 2026-06-11 00:56:31 +00:00
Atemu
603fc91c33 nixos/system-path: don't link /etc/xdg/ uncoditionally
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.
2026-06-10 16:18:36 +02:00
Atemu
65116f97fc nixos/xdg/autostart: actually disable generation of autostart units
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.)
2026-06-10 16:11:36 +02:00
Atemu
a8f871c148 nixos/swap: trigger device readiness
Attempts to fix https://github.com/nixos/nixpkgs/issues/524389
2026-06-10 11:46:48 +02:00
Atemu
fe18bb82a1 nixos/swap: detect whether swap is a device 2026-06-10 11:46:47 +02:00
Nico Felbinger
25df9174a4 nixos/malloc: check legacy scudo options exist before use 2026-06-08 21:14:10 +02:00
r-vdp
5692c926f2 nixos/users-groups: drop the weak-hash activation warning
The libxcrypt transition was in 23.05, so I think we've given
people sufficient time to fix hashes of mutable users.

Part of #475305.
2026-06-07 18:10:38 +03:00
r-vdp
d26feac137 nixos/nix-channel: substitute getent path in preSwitchCheck
Follow-up to #527658.
2026-06-04 01:50:26 +03:00
r-vdp
d0b9fc3672 nixos/nix-channel: move stale-channel warning to preSwitchChecks
The standalone shellcheck test is dropped since we already shellcheck
the combined preSwitchChecks script.

Part of #475305.
2026-06-03 19:56:24 +03:00
Michael Daniels
10dc77eeb3 nixos/fonts: add Noto CJK to default fonts (#521738) 2026-06-01 22:56:23 +00:00
avosirenfal
fa695d885e nixos/fontconfig: add alias support 2026-05-26 17:04:28 -07:00
Jörg Thalheim
ec563b9896 nixos/console: fix tmpfile rule when imperativeLocale is enabled (#523974) 2026-05-26 06:27:00 +00:00
Kajus Naujokaitis
4fa7d03656 nixos/console: fix tmpfile rule when imperativeLocale is enabled
Signed-off-by: Kajus Naujokaitis <kajusn@gmail.com>
2026-05-25 14:44:13 +03:00
Emil Thorsoe
654a07279a termite: remove broken package with no live upstream
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.

18de7682e9
https://github.com/NixOS/nixpkgs/issues/122929
2026-05-22 15:29:27 +03:00
Will Fancher
44e15166e0 nixos/system-environment: Export PATH to systemd transient environment
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`.
2026-05-21 02:03:58 -04:00
SandaruKasa
27cae711e7 nixos/fonts: add Noto CJK to default fonts 2026-05-19 22:22:30 +03:00
K900
877385b045 Merge remote-tracking branch 'origin/master' into staging-next 2026-05-18 16:19:13 +03:00
Alyssa Ross
9488f36f15 nixos/i18n: fix eval for non-glibc systems (e.g. musl) (#514825) 2026-05-18 09:42:55 +00:00
K900
5ffead08ce Merge remote-tracking branch 'origin/master' into staging-next 2026-05-14 19:08:41 +03:00
Will Fancher
a80c30e6a5 nixos/stage-1: Fix inconsistency with fonts and no earlySetup
`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.
2026-05-13 17:09:58 -04:00
Will Fancher
7fda83d316 Revert "nixos/console: Fix systemd-vconsole-setup"
This reverts commit ed6c1b08f9.
2026-05-13 17:08:54 -04:00
nixpkgs-ci[bot]
29eed599a9 Merge master into staging-next 2026-05-08 08:38:31 +00:00
K900
f5cbe0c537 libsForQt5.qtcurve: drop 2026-05-08 09:30:33 +03:00
Colin
cce4239d68 nixos/i18n: fix eval for non-glibc systems (e.g. musl)
`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.
2026-05-07 17:35:58 +00:00
nixpkgs-ci[bot]
ea42f8956c Merge staging-next into staging 2026-05-07 07:01:56 +00:00
nixpkgs-ci[bot]
b1f80a07b6 Merge master into staging-nixos 2026-05-06 12:39:58 +00:00
nixpkgs-ci[bot]
122be4c160 Merge staging-next into staging 2026-05-06 12:39:25 +00:00
Jhonas Wernery
159f10f22d nixos/console: Fix systemd-vconsole-setup (#299456) 2026-05-06 09:11:17 +00:00
edef
6ca4020f37 nixos: unset vm.mmap_rnd_compat_bits on 32-bit architectures (#516020) 2026-05-05 17:23:33 +00:00