Commit graph

1395 commits

Author SHA1 Message Date
Masum Reza 7def831482
[Backport release-25.05] nixos/config/sysfs: init module (#445143) 2025-10-24 01:35:48 +00:00
Wolfgang Walther 5cbdb94f3a
treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.

(cherry picked from commit 91a8fee3aa)
2025-10-05 12:59:25 +02:00
Wolfgang Walther 1c6af9ba0a
treewide: remove unused with
Auto-fixed by nixf-diagnose.

(cherry picked from commit c283f32d29)
2025-10-05 12:38:28 +02:00
Wolfgang Walther e571612843 nixos/config/sysfs: run treefmt
(cherry-picked from commit f96d58f0c8)
2025-09-22 07:29:34 +02:00
Mikael Voss 9b638c7475 nixos/config/sysfs: init module
(cherry-picked from commit ba04f97d4e)
2025-09-22 07:29:34 +02:00
Wolfgang Walther aefcb0d50d
treewide: run nixfmt 1.0.0 2025-07-24 14:58:18 +02:00
Katalin Rebhan 2f534ed8ea nixos/users-groups: allow changing default home directory
(cherry picked from commit 6f7d7cf76f)
2025-06-07 18:31:59 +00:00
Doron Behar 24b41a7f8b 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.

(cherry picked from commit 82dfbe95f5)
2025-05-23 06:25:48 +00:00
Doron Behar ef5bc91e93 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.

(cherry picked from commit 263297b4e5)
2025-05-20 12:17:52 +00:00
Doron Behar fdba215260 i18n: Add charset related settings
Fixes #404758

(cherry picked from commit e8581078a1)
2025-05-20 12:17:52 +00:00
Leona Maroni abf9d678aa
beta release 2025-05-16 19:04:43 +02: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
Jörg Thalheim 611bfa1dd4
make nix.settings.system-features default mergeable again (#383052) 2025-03-10 13:09:49 +01:00
Connor Baker 871cda0b06
testers.shellcheck: refactor, update docs, and simplify tests (#385940) 2025-03-07 20:53:33 -08:00
Connor Baker cd7df192e3 treewide: add name argument to calls to testers.shellcheck 2025-03-08 00:15:22 +00:00
Philip Taron f041d52e7b
nixos/users-groups: Add assert on null shells (#279431) 2025-03-07 12:54:52 -08:00
r-vdp 4e17c9546f
nixos/sudo-rs: align sudo and sudo-rs config
Since the latest release, sudo-rs supports all what we need
2025-03-02 17:42:18 +01:00
Silvan Mosberger b602f86829 nixos/users-groups: Catch invalid usernames early
Prevents running into the problem from the parent commit in the first
place.
2025-02-28 22:33:55 +01:00
Silvan Mosberger 8181d2a7c1 nixos/user-groups: Don't double-UTF8-encode subUidMapFile
Because with it only being single-UTF8-decoded, this lead to the file
~doubling in size whenever it contained any non-ascii characters!
2025-02-28 21:55:12 +01:00
Sandro d1c535f62a
nixos/user-groups: add a toggle for user account creation (#358646) 2025-02-27 23:47:20 +01:00
Michele Guerini Rocco d05074f981
nixos/getty: only include if config.console.enable == true (#363533) 2025-02-18 11:44:42 +01:00
Jörg Thalheim 7b912bcafe make nix.settings-system-features default mergeable again 2025-02-18 15:30:43 +07:00
Sandro 03b6a553eb
nixos/users-groups: split isSystemUser/isNormalUser and uid check into two (#357944) 2025-02-16 20:35:45 +01:00
Christian Kögler aa980ac71b
nixos/nix: restructure default for system-features (#372878) 2025-02-14 00:11:19 +01:00
Peder Bergebakken Sundt 18e12e5a85 nixos/*: cleanup code-escaped manpage urls
Done with

    rg '[a-zA-Z.-]+\([0-9]+\)' -tnix nixos/ -l | xe sd '`\{manpage\}`([a-zA-Z.-]+\([0-9]+\))``' '{manpage}`$1`'
2025-02-05 13:22:07 +01:00