Commit graph

1408 commits

Author SHA1 Message Date
K900 31d5c4e753 nixos/treewide: clean up some more references to deleted qt5 things 2025-08-22 11:38:49 +03:00
Emily 01e8f570c6 nixos/malloc: unpin LLVM for Scudo
This was using `llvmPackages_latest` before that became an alias.
2025-08-18 15:56:40 +01:00
Wolfgang Walther f96d58f0c8
nixos/config/sysfs: run treefmt 2025-08-11 09:16:28 +02:00
Mikael Voss ba04f97d4e nixos/config/sysfs: init module 2025-08-11 12:16:59 +05:30
nikstur 42cf56db09 nixos/system-path: add corePackages option
This allows users to override all packages. This is useful to build
minimal systems that really don't required these packages that
previously were "required".
2025-08-10 22:48:26 +02:00
nikstur d5ae87bdeb
Revert "nixos: allow more things to be disabled" 2025-08-10 22:22:08 +02:00
Arian van Putten 1bb040fae8
nixos: allow more things to be disabled (#429695) 2025-08-10 19:49:52 +02:00
Martin Weinelt 63c4ed7e64
nixseparatedebuginfod2: init package and module (#428845) 2025-08-10 15:46:23 +02:00
Naïm Camille Favier e4b933ddb4
nixos/resolveconf: not resetting package (#426557) 2025-08-07 13:42:58 +02:00
nikstur 6df45ae281 nixos/system-path: add corePackages option
This allows users to override all packages. This is useful to build
minimal systems that really don't required these packages that
previously were "required".
2025-07-31 20:42:35 +02:00
Guillaume Girol ca548d4da9 nixos: make it possible for several modules to provide a debuginfod server
by introducing a `environment.debuginfodServers` option.
2025-07-27 23:01:05 +02:00
Wolfgang Walther 5a0711127c
treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Glen Huang 7454288c91
nixos/resolveconf: not resetting package
package already has a default value, there is no need to reset it
2025-07-19 11:00:05 +08:00
isabel 6cdee65115
nixos/users-groups: group members filter by enabled 2025-07-18 22:19:11 +01:00
Philip Taron 8279ffe622
treewide: specify that mebibytes are used when it's ambiguous (#424169) 2025-07-11 12:29:33 -07:00
Axel Karjalainen 7159ab6f43 treewide: specify where mebibytes are used when it's ambiguous 2025-07-11 00:44:23 +03:00
DavHau 485b06a376 nixos/sysctl: sane inotify defaults globally
Currently, sane inotify limits are only set when graphical-desktop is enabled, but inotify is also used on servers by non-graphical applications
2025-06-17 18:47:31 +07:00
Moraxyc 069c640f76
nixos/getaddrinfo: init
This commit introduces a new NixOS module `networking.getaddrinfo` to allow
declarative configuration of `/etc/gai.conf`, which controls address
selection behavior for `getaddrinfo(3)` as defined in RFC 3484 and
RFC 6724.
2025-06-10 20:08:52 +08:00
Johannes Kirschbauer 6d8eca96ba
sysctl: remove unnecessary definition filtering 2025-05-30 22:45:46 +02:00
arcnmx 41725bb0f7 nixos/swap: require mkswap when encrypted
the mkswap service manages a dm/luks block device when randomEncryption
is enabled, and is not an optional dependency of the swap unit
2025-05-29 19:28:40 +05:30
Katalin Rebhan 6f7d7cf76f
nixos/users-groups: allow changing default home directory 2025-05-25 19:25:06 +02:00
Doron Behar 82dfbe95f5 nixos/i18n: Re-add special handling of LANGUAGE
This reverts commit 263297b4e5 while also
explaining in the docs where exactly LANGUAGE is ignored, and why.

Fixes #409306.
2025-05-23 09:13:29 +03:00
Doron Behar 263297b4e5 nixos/i18n: Remove special handling of LANGUAGE
Partially revert #179194 which first filtered
`extraLocaleSettings.LANGUAGE`. Indeed this environment variable is
given precedence according to:

https://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html

So using it will simply make all other `extraLocaleSettings` be ignored
in practice, but the OS shouldn't ignore it when aggregating the locales
required in general, as this setup should still be legitimate, and it
may even be useful if you wish to set it by default and use `env -u
LANGUAGE` for some programs.
2025-05-19 18:09:27 +03:00
Doron Behar e8581078a1 i18n: Add charset related settings
Fixes #404758
2025-05-19 18:09:27 +03:00
nixpkgs-ci[bot] 6c6ee2d903
Merge master into staging-next 2025-05-03 18:04:30 +00:00
musjj b94a794a6e nixos/i18n: support "all" for extraLocales 2025-05-02 14:23:45 +07:00
nixpkgs-ci[bot] 57718699b1
Merge master into staging-next 2025-04-30 09:29:33 +00:00
Doron Behar 708480f836
nixos/i18n: add extraLocales option (#356477) 2025-04-30 12:06:27 +03:00
musjj 07dde5f4c4 nixos/i18n: refactor aggregated locales into a variable 2025-04-28 22:04:41 +07:00
musjj 0f13f78d02 nixos/i18n: warn when the user has a badly-configured supportedLocales 2025-04-28 22:04:41 +07:00
musjj 401ec59a17 nixos/i18n: hide supportedLocales from the manual 2025-04-28 22:04:41 +07:00
musjj 073e4bd689 nixos/i18n: add extraLocales option 2025-04-28 02:48:08 +07:00
nixpkgs-ci[bot] a821261015
Merge master into staging-next 2025-04-27 12:05:44 +00:00
Vladimír Čunát 22f5df0632
stub-ld: disable 32-bit stub ld on 64-bit systems (#398449) 2025-04-27 13:37:43 +02:00
nixpkgs-ci[bot] 032ce947b2
Merge staging-next into staging 2025-04-22 12:06:47 +00:00
Felix Stupp 012fdbe02c
nixos/nix-flakes: ref to man page about flake registry 2025-04-22 10:07:43 +02:00
mikitsu 374b2ed9f9
nixos/users-groups: add warning when changing subuid ranges 2025-04-21 21:09:02 +02:00
mikitsu 46600598f1
nixos/users-groups: don't allocate coinciding subuid ranges with autoSubUidGidRange
Previously, when adding a new user when at least two users already exist,
this new user was assigned the same subuid range as the second existing user.
2025-04-21 21:09:00 +02:00
Jörg Thalheim e9b95509b2 stub-ld: disable 32-bit stub ld on 64-bit systems
This pulls in another instance of nixpkgs including glibc.
This is both not great from a evaluation perspective and a dependency
closure.

So let's remove this part from nixpkgs again and re-enable it, when we
have slimmed down the build according to `environment.ldso32 = mkIf
pkgs.stdenv.hostPlatform.isx86_64 (mkDefault stub-ld32);`
2025-04-14 10:18:54 +02:00
Silvan Mosberger 374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Austin Horstman f62c664b16
qt: add "kde6" to qt.platformTheme (#384669) 2025-03-31 00:00:31 -05:00
Aleksana f42205ed7f
xdg/portals/lxqt: Fix documentation string indent (#391909) 2025-03-27 18:52:23 +08:00
Aleksana b4ded625bd
nixos/environment: make {sessionV,v}ariables items nullable (#354186) 2025-03-27 10:10:31 +08:00
Will Fancher eefd9323ae Revert "24.11 beta release"
This reverts commit f49e820fbc.

This should have only been on release-24.11, not master
2025-03-24 19:39:13 -04:00
Kovacsics Robert 357a75fda7
xdg/portals/lxqt: Fix documentation string indent
I just spotted this while browsing the code, but double checked and it
looks badly indented in the manpages and on the web too.
2025-03-21 17:43:48 +00:00
K900 b64ec1944e
nixos/fonts: ship fontconfig caches even for cross-compiled hosts (#391305) 2025-03-20 09:06:38 +03:00
Silvan Mosberger 4f6e508a09
nixos/users-groups: Enforce ASCII usernames and fix repeated doubling of activation script runtime (#385904) 2025-03-19 17:33:49 +01:00
Colin 9435a2b422 nixos/fonts: ship fontconfig caches even for cross-compiled hosts 2025-03-19 07:53:24 +00:00
NovaViper 841c9ff665
qt: add "kde6" to qt.platformTheme
Related issue: #260696
- Adds KDE Plasma 6 support, which fixes various issues with setting the
QT platform theme on the desktop environment
2025-03-10 20:26:45 -05:00
Sandro 74ee058fc3
nixos/sudo-rs: align sudo and sudo-rs config (#386423) 2025-03-10 16:51:43 +01:00