summary refs log tree commit diff
path: root/nixos/modules/config
Commit message (Collapse)AuthorAge
* nixos/fonts: Remove ancient bitmap fonts from defaultXFontsLuna Nova2022-03-13
| | | | See https://github.com/NixOS/nixpkgs/issues/160740
* nixos/users: Fix type errorRobert Hensing2022-02-05
| | | | | | | Fixes what seems to be a programming error that went undetected by me and @pasqui23 See https://github.com/NixOS/nixpkgs/issues/158279
* nixos/users:added users.allowLoginlessPasquale2022-02-05
| | | | | | | | | | | | | | | | | | | | | | | | Correct the assertion logic Fixed indentation Better wording od allowLoginless' description Co-authored-by: Eelco Dolstra <edolstra@gmail.com> Better formatting Co-authored-by: Eelco Dolstra <edolstra@gmail.com> allowLoginless -> allowNoPasswordLogin Clarified users.allowNoPasswordLogin's description Clarified assertion expression Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> Reworded assertion message to gude to safer alternative
* Merge pull request #148344 from pasqui23/portalsJan Tojnar2022-01-26
|\ | | | | nixos/xdg-portals: add portals to systemPackages
| * nixos/xdg-portals: add portals' desktop files to XDG_DATA_DIRSPasquale2022-01-26
| |
* | Merge #143715: nixos/malloc: fix scudo on aarch64-linuxVladimír Čunát2022-01-18
|\ \
| * | nixos/malloc: fix scudo on non-x86_64 machines06kellyjac2021-10-29
| | |
* | | users-groups service: add autoSubUidGidRange optionNikolay Amiantov2022-01-09
| | | | | | | | | | | | | | | | | | | | | Previously we allocated subuids automatically for all normal users. Make this explicitly configurable, so that one can use this for system users too (or explicitly disable for normal users). Also don't allocate automatically by default if a user already has ranges specified statically.
* | | Merge pull request #147690 from pasqui23/hostsRobert Hensing2022-01-08
|\ \ \ | | | | | | | | concatTextFile: init
| * | | nixos/networking: using concatTextFilePasquale2021-11-28
| | |/ | |/|
* | | Merge pull request #148785 from pennae/more-option-doc-staticizingGraham Christensen2021-12-17
|\ \ \ | | | | | | | | treewide: more defaultText for options
| * | | nixos/system-path: add defaultText for defaultPackagespennae2021-12-09
| | | |
| * | | treewide: set defaultText for options using simple path defaultspennae2021-12-09
| |/ / | | | | | | | | | | | | adds defaultText for all options that set their default to a path expression using the ubiquitous `cfg` shortcut bindings.
* | | Merge pull request #148649 from Artturin/sgxgidArtturi2021-12-06
|\ \ \ | | | | | | | | nixos: add sgx group with gid 304
| * | | nixos: add sgx group with gid 304Artturin2021-12-05
| |/ / | | | | | | | | | fix Unknown group 'sgx', ignoring message from udev
* / / nixos/*: add trivial defaultText for options with simple defaultspennae2021-12-02
|/ /
* | nixos/swap: remove fallocate and use dd as the main swap creation methodArtturin2021-11-13
| | | | | | | | | | | | | | | | | | | | https://github.com/NixOS/nixpkgs/issues/144572 https://github.com/NixOS/nixpkgs/issues/91986 nixos/swap: remove expansion if else because the file is already recreated if file size is not the same as the configured size nixos/swap: remove old fixme
* | nixos/swap: add randomEncryption.allowDiscards optionbb20202021-11-08
|/
* nixos/console: fix cross-compilingJulien Moutinho2021-10-20
|
* Merge pull request #140723 from rnhmjoj/pr-fontdir-headlessMichele Guerini Rocco2021-10-11
|\ | | | | nixos/fontdir: always link the font directory
| * nixos/fontdir: always link the font directoryrnhmjoj2021-10-06
| | | | | | | | | | This fixes the fonts directory availability when not running an xserver, such as headless machines.
* | nixos/doc: clean up defaults and examplesNaïm Favier2021-10-04
|/
* Merge #138918: Fix several NixOS errors in Hydra evaluationVladimír Čunát2021-09-22
|\ | | | | | | In particular, this should unblock the trunk-combined jobset.
| * nixos: heimdalFull -> heimdalrnhmjoj2021-09-22
| | | | | | | | The package has been renamed in 2018-05-01.
* | Merge pull request #125966 from ju1m/apparmorSandro2021-09-21
|\ \
| * | nixos/apparmor: allow closure of selected mallocLib, fixes #125415Julien Moutinho2021-06-06
| | |
* | | nixos/malloc: add mimallocMikael Voss2021-09-20
| |/ |/|
* | Merge pull request #138207 from rnhmjoj/layoutsMichele Guerini Rocco2021-09-19
|\ \ | | | | | | nixos/extra-layouts: avoid all rebuilds
| * | nixos/extra-layouts: avoid all rebuildsrnhmjoj2021-09-17
| | | | | | | | | | | | | | | | | | | | | Just setting the XKB_CONFIG_ROOT should be enough, so we don't need to rebuild the xserver, xkbcomp and other packages anymore. However, the variable has to be passed explicitely to scripts running at build time: in particular to xkbvalidate and xkb-console-keymap.
* | | Merge pull request #120087 from figsoda/xdg-mimefigsoda2021-09-17
|\ \ \ | |/ / |/| | nixos/xdg/mime: add config for associations between mimetypes and applications
| * | nixos/xdg/mime: add config for associationsfigsoda2021-09-12
| | | | | | | | | | | | between mimetypes and applications
* | | Merge pull request #133166 from symphorien/nonogroupGuillaume Girol2021-09-13
|\ \ \ | |/ / |/| | Don't default to nogroup for the primary group of users.
| * | nixos/users-groups: don't default users.users.<name>.group to nogroupGuillaume Girol2021-09-03
| | | | | | | | | | | | | | | this is unsafe, as many distinct services may be running as the same nogroup group.
* | | nixos/users-groups: Add dry modeJanne Heß2021-09-07
|/ /
* | nixos/fonts: fixup dd38ae1frnhmjoj2021-08-29
| |
* | Merge pull request #133303 from rnhmjoj/cursorMichele Guerini Rocco2021-08-25
|\ \ | | | | | | nixos/hidpi: scale X11 core cursor
| * | nixos/fonts: scale X11 core cursorrnhmjoj2021-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most desktop environments manage the cursor using the Xcursor library by default; this comes with scalable or multiple-sized cursor themes. However, when running just a simple WM (twm, bspwm, ...) the cursor handling is left to the X server, which uses a very simple fixed bitmap font (this is called a "core" cursor). The font is uncomfortably small on a high DPI display and must be replaced with a saner default. Up until recently[1] it used to be possible to change the font on the xserver command line, however the font name is now hardcoded. It's still possible to change it, though: here I override the `fontcursormisc` package and set an alias that points to a vector variant of the original cursor font. The font size is set to match the standard cursor dimensions on a 96dpi display. It's not perfect but it's a very simple and effective solution. [1]: https://gitlab.freedesktop.org/xorg/xserver/-/commit/56ea4c769c2d65df2de86009e8e499f39a8a3d4d
* | | Merge pull request #132836 from Infinisil/populate-membersSilvan Mosberger2021-08-25
|\ \ \ | | | | | | | | nixos/users: Populate group members option
| * | | nixos/users: Populate group members optionSilvan Mosberger2021-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change makes it so that accessing config.users.groups.*.members isn't empty by default, but instead contains all the users whose `extraGroups` includes that group, allowing fancy things like { config, ... }: { users.groups.libvirt.members = config.users.groups.wheel.members; } to add all users in the wheel group to the libvirt group
* | | | Merge pull request #133014 from Mic92/fix-pamJörg Thalheim2021-08-20
|\ \ \ \ | | | | | | | | | | nixos: reduce pam files rebuilds on updates
| * | | | nixos: reduce pam files rebuilds on updatesJörg Thalheim2021-08-20
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Before whenever environment variables changed, pam files had to be rebuild. This is expensive since each file needs its own sandbox set up.
* | | | fontconfig service: drop dpi optionNikolay Amiantov2021-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recommend to use services.xserver.dpi option instead. Mention in the documentation that it's a sledgehammer approach and monitor settings should be used instead. Also don't set DPI in fontconfig settings; fontconfig should use Xft settings by default so let's not override one value in multiple places. For example, user now can set DPI via ~/.Xresources properly.
* | | | treewide: runCommandNoCC -> runCommandRobert Hensing2021-08-15
|/ / / | | | | | | | | | This has been synonymous for ~5y.
* | | Merge pull request #110742 from siraben/deprecate-foldBen Siraphob2021-07-27
|\ \ \ | |/ / |/| |
| * | treewide: fold -> foldrBen Siraphob2021-01-26
| | |
* | | Merge pull request #129408 from kurnevsky/swap-luks-discardsJörg Thalheim2021-07-23
|\ \ \ | | | | | | | | nixos/swap: allow luks discards if swap discards are enabled
| * | | nixos/swap: allow luks discards if swap discards are enabledEvgeny Kurnevsky2021-07-06
| | | |
* | | | Merge pull request #128032 from Artturin/add-swap-optionsRobert Hensing2021-07-23
|\ \ \ \ | | | | | | | | | | nixos/swap: add options option
| * | | | nixos/swap: add options optionArtturin2021-07-20
| | | | |
* | | | | nixos/systemd: fix NSS database orderingFlorian Klink2021-07-17
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The order of NSS (host) modules has been brought in line with upstream recommendations: - The `myhostname` module is placed before the `resolve` (optional) and `dns` entries, but after `file` (to allow overriding via `/etc/hosts` / `networking.extraHosts`, and prevent ISPs with catchall-DNS resolvers from hijacking `.localhost` domains) - The `mymachines` module, which provides hostname resolution for local containers (registered with `systemd-machined`) is placed to the front, to make sure its mappings are preferred over other resolvers. - If systemd-networkd is enabled, the `resolve` module is placed before `files` and `myhostname`, as it provides the same logic internally, with caching. - The `mdns(_minimal)` module has been updated to the new priorities. If you use your own NSS host modules, make sure to update your priorities according to these rules: - NSS modules which should be queried before `resolved` DNS resolution should use mkBefore. - NSS modules which should be queried after `resolved`, `files` and `myhostname`, but before `dns` should use the default priority - NSS modules which should come after `dns` should use mkAfter.