about summary refs log tree commit diff
path: root/nixos/modules/config
AgeCommit message (Collapse)AuthorFilesLines
2023-12-28nixos/sysctl: cleanupLuflosi1-9/+11
- Use `options = {` instead of repeating `options` for every option - Change the description of "net.core.rmem_max" slightly to match the kernel documentation
2023-12-27Merge pull request #271326 from philiptaron/shutdown.targetnikstur1-1/+2
treewide: depend on `shutdown.target` if `DefaultDependencies=no` in almost every case
2023-12-26Merge pull request #258812 from Izorkin/fix-noxlibsNick Cao1-1/+1
nixos/no-x-libs: fix build packages
2023-12-25Merge pull request #253263 from SuperSandro2000/nox-intel-vaapi-driverNick Cao1-0/+1
nixos/no-x-libs: add intel-vaapi-driver
2023-12-25nixos/no-x-libs: build qtbase without qt translationIzorkin1-1/+1
2023-12-21nixos/krb5: move to security.krb5Marco Rebhan2-174/+0
2023-12-21nixos/krb5: cleanup, fix and RFC42-ifyMarco Rebhan2-336/+141
This replaces the krb5 module's options with RFC 42-style krb5.settings option, while greatly simplifying the code and fixing a few bugs, namely: - #243068 krb5: Configuration silently gets ignored when set by multiple modules - not being able to use mkIf etc. inside subattributes of krb5.libdefaults, e.g. krb5.libdefaults.default_realm = mkIf ... See #144575. Closes #243068. Co-authored-by: h7x4 <h7x4@nani.wtf>
2023-12-18Merge pull request #263661 from SuperSandro2000/pulseaudio-no-avahiPeder Bergebakken Sundt1-14/+8
nixos/pulseaudio: don't create config file or enable avahi when pulse…
2023-12-15nixos/ldso: remove string context from linker sonameK9001-2/+2
Unbreaks installer tests that otherwise start depending on i686-glibc
2023-12-14Merge pull request #274110 from networkException/sysctl-net.core.wmem_maxLin Jian1-8/+16
nixos/{sysctl,caddy}: improvements for net.core.wmem_max
2023-12-15nixos/sysctl: use highest value on conflict for net.core.wmem_maxnetworkException1-8/+16
we previously defined a custom type for `boot.kernel.sysctl."net.core.rmem_max"` to resolve to the highest value set. this patch adds the same behavior to `"net.core.wmem_max"`. as this changes the type from a string to an integer, which is a breaking change this patch also includes a release note and updates the transmission module to use a number for `wmem_max`.
2023-12-14nixos/users-groups: fix confusing error messageAlyssa Ross1-1/+1
If we include users with unset groups, we get this very confusing message, with invalid Nix code: - The following users have a primary group that is undefined: qyliss Hint: Add this to your NixOS configuration: users.groups. = {}; We don't need to include such users in this check, since they'll be caught anyway by this one: - users.users.qyliss.group is unset. This used to default to nogroup, but this is unsafe. For example you can create a group for this user with: users.users.qyliss.group = "qyliss"; users.groups.qyliss = {};
2023-12-13Merge pull request #269551 from tejing1/nixos-stub-ldRobert Hensing2-0/+114
nixos/stub-ld: init module
2023-12-12nixos/iproute2: use rt_tables.d to avoid IFDLin Yinfeng1-3/+2
2023-12-11nixos/pulseaudio: don't create config file or enable avahi when pulse is ↵Sandro Jäckel1-14/+8
disabled
2023-12-11nixos/stub-ld: init moduleJeff Huffman1-0/+56
2023-12-11nixos/vte: use vte without any GUI dependenciesSandro Jäckel1-3/+1
we just need the script, borrowed from environment.noXLibs On my system this reduced the closure size by ~100MB ▶ nix path-info -Sh /nix/var/nix/profiles/system-76-link/ /nix/store/adybwlzyf3qa56irabblzlyjsr74amb9-nixos-system-francium-23.11 6.5G ▶ nix path-info -S /nix/var/nix/profiles/system-76-link/ /nix/store/adybwlzyf3qa56irabblzlyjsr74amb9-nixos-system-francium-23.11 6956572064 ▶ nix path-info -Sh /nix/var/nix/profiles/system-77-link/ /nix/store/wgs6wlq2i911q2r1n5fqbs9vzmp8qy26-nixos-system-francium-23.11 6.4G ▶ nix path-info -S /nix/var/nix/profiles/system-77-link/ /nix/store/wgs6wlq2i911q2r1n5fqbs9vzmp8qy26-nixos-system-francium-23.11 6856836056
2023-12-10nixos/no-x-libs: add vteSandro Jäckel1-0/+1
2023-12-10nixos/no-x-libs: add mupdfSandro Jäckel1-0/+1
2023-12-06nixos/no-x-libs: add ghostscriptSandro Jäckel1-0/+1
2023-12-05Merge pull request #271423 from hercules-ci/nixos-nix.nix-nix-config-showRobert Hensing1-2/+6
nixos/nix.nix: Support new Nix 2.20 command syntax
2023-12-03nixos/ldso: init moduleJeff Huffman1-0/+58
2023-12-01nixos/mysql-auth: fix passwords in config filesnetali1-22/+35
2023-12-01nixos/nix.nix: Support new Nix 2.20 command syntaxRobert Hensing1-2/+6
Otherwise it shows a deprecation warning, which is escalated to an error. For context, see https://github.com/NixOS/nixpkgs/pull/139075#discussion_r733615550
2023-12-01nixos/pulseaudio: set permission of pulse home directorylgoette1-0/+1
Closes #114399
2023-11-30nixos/swap: ensure correct ordering w.r.t. shutdown.targetPhilip Taron1-1/+2
2023-11-26Merge pull request #256159 from YtvwlD/yamaThiago Kenji Okada1-3/+0
nixos/sysctl: Stop disabling yama by default
2023-11-22Revert "23.11 beta release"Artturin1-1/+1
This line shouldn't be changed from pre to beta on master, only in the beta branch https://nixos.github.io/release-wiki/Branch-Off.html#on-the-release-branch This reverts commit dc7b3febf8d862328d8704de5c8437d2df442c76. Revert "nixos/release: fix versionSuffix eval" This reverts commit 625c450024e24c55cac035372bc49b39f8df005b.
2023-11-21Merge #269032: GNOME: 44 -> 45Vladimír Čunát1-0/+67
2023-11-2123.11 beta release 23.11-betafigsoda1-1/+1
Signed-off-by: figsoda <figsoda@pm.me>
2023-11-21nixos/xdg/portal: Fix link to portals.conf documentationBobby Rong1-1/+1
The original url is now 404. Let's keep this link in sync with the one in doc/manpage-urls.json.
2023-11-21nixos/xdg/portal: Add config and configPackages optionBobby Rong1-0/+67
In x-d-p 1.17, when no configs are given, you apps will likely not able to find a backend. Let users aware of the changes.
2023-11-17maintainers: fortuneteller2k -> monifortuneteller2k1-1/+1
2023-11-11treewide: fix redirected and broken URLsAnthony Roussel1-1/+1
Using the script in maintainers/scripts/update-redirected-urls.sh
2023-11-08nixos/terminfo: Simplify sudo-related optionnicoo1-4/+1
2023-11-01nixos/nix-channnel: fix setting up the default channel againnikstur1-2/+1
2023-10-31nixos/nix-channel: fix subscribing to default channelnikstur1-1/+1
Fixes https://github.com/NixOS/nixpkgs/issues/264602
2023-10-29Merge pull request #262583 from ElvishJerricco/systemd-stage-1-shellsWill Fancher1-3/+14
systemd-stage-1: Support for user shells
2023-10-28Merge pull request #263203 from nikstur/replace-activationLinus Heckemann2-9/+6
Replace simple activationScripts
2023-10-26nixos/mysql: replace activationScripts via preStartnikstur1-2/+2
2023-10-26iproute2: stateless configurationAndré Silva1-10/+5
https://github.com/iproute2/iproute2/commit/0a0a8f12fa1b03dd0ccbebf5f85209d1c8a0f580
2023-10-25nixos/nix-channel: replace activationScript via tmpfilesnikstur1-7/+4
2023-10-21nixos/fanout: init fanout oneshot moduleRishi Desai1-0/+49
2023-10-21systemd-stage-1: Support for user shellsWill Fancher1-3/+14
2023-10-20nixos: fix bad mkEnableOption descriptionsBjørn Forsman2-2/+2
Fix descriptions that don't account for (1) the "Whether to enable" prefix or (2) the automatically added trailing dot.
2023-10-19nixos/qt: improve module documentationThiago Kenji Okada1-1/+8
2023-10-19nixos/qt: multiple fixesThiago Kenji Okada1-67/+93
- Removal of top-level `with lib` - Allow usage of module without setting `platformTheme`, so we can set the QT_PLUGIN_PATH/QML2_IMPORT_PATH paths without theming - Add support for kvantum and some other styles - Add myself as maintainer
2023-10-19nixos/sysctl: Enable Yama by defaultNiklas Sombert1-3/+0
Yama is a LSM which restricts debugging. This prevents processes from snooping on another. It can be easily disabled with sysctl. This was initially included in #14392 and disabled by default by 86721a5f78718caf10c578e9501f8b4d19c0eb44. This has been part of the hardened configuration, but many other distros ship this for quite some time (Ubuntu for about ten years), so I'd say it might make sense to enable this per default.
2023-10-15Merge pull request #259918 from kidonng/patch-3Artturi1-6/+0
2023-10-14Merge branch 'master' into shellconfigVladimir Pouzanov4-48/+47