about summary refs log tree commit diff
path: root/nixos/modules/config
AgeCommit message (Collapse)AuthorFilesLines
2019-12-28swapDevices.<name>.device can be a swap file.Robert Hensing1-1/+1
2019-12-20nixos/console: set colors using kernel parametersrnhmjoj1-9/+9
This commit changes the console colors implementation to use the kernel parameters instead of relying on terminal escape sequences. This means the palette is applied by the kernel itself with no custom code running in the initrd and works for all virtual terminals (not only tty0).
2019-12-20nixos: unify virtual console optionsrnhmjoj2-63/+203
This commit moves all the virtual console related options to a dedicated config/console.nix NixOS module. Currently most of these are defined in config/i18n.nix with a "console" prefix like `i18n.consoleFont`, `i18n.consoleColors` or under `boot` and are implemented in tasks/kbd.nix. Since they have little to do with actual internationalisation and are (informally) in an attrset already, it makes sense to move them to a specific module.
2019-12-10nixos/treewide: Move rename.nix imports to their respective modulesSilvan Mosberger6-0/+30
A centralized list for these renames is not good because: - It breaks disabledModules for modules that have a rename defined - Adding/removing renames for a module means having to find them in the central file - Merge conflicts due to multiple people editing the central file
2019-11-29Remove networking.hostConf optionChristian Kauhaus1-14/+3
This PR is part of the networking.* namespace cleanup. We feel that networking.hostConf is rarely used and provides little value compared to using environment.etc."host.conf" directly. Provide sensible default: multi on
2019-11-26nixos: default `environment.homeBinInPath` to falseAndreas Rammhold1-1/+1
This is a more sane default since we do not magically (without opt-in) pull in binaries from `~/bin`. That is not really an expected behavior for many users. Users that still want that behavior can now just flip that switch.
2019-11-24networking.vpnc: remove optionChristian Kauhaus1-41/+0
This PR is part of the networking.* namespace cleanup. The Cisco VPN module is currently of limited value since it just creates config files but does not manage services. The same functionality can be achieved by using _environment.etc_ instead. It would be a different situation if we had a full service module. So if you are annoyed by this change, please consider write a more featureful module and put its options unter _services.networking.vpnc_. Note that this change removes options for *Cisco VPN*, not *networkmanager-vpn*.
2019-11-21nixos/qt5: use correct qtstyleplugins attributeIDF311-1/+1
2019-11-09Merge pull request #71416 from worldofpeace/gnome3-sound-themeworldofpeace1-1/+5
nixos/gnome3: add sound-theme-freedesktop
2019-11-06nixos/fontconfig-ultimate: removeworldofpeace1-86/+0
This module has been obsolete for several years now.
2019-11-06nixos/corefonts: removeworldofpeace1-36/+0
4 years ago in 7edb27b7af6ebff7e35207f7fcf16e0e2bd8884a the option was made hidden. We should just remove the module and use mkRemovedOptionModule.
2019-11-03nixos/xdg/sounds: add sound-theme-freedesktopworldofpeace1-1/+5
2019-11-02Merge pull request #68483 from chkno/optional-home-bin-in-pathAndreas Rammhold1-2/+12
nixos/shells-environment: Make ~/bin/ in $PATH optional
2019-10-30nixos.pulseaudio: Remove bad recommendation to use pulseaudio in system-wide ↵adisbladis1-2/+3
mode Upstream Pulseaudio has always stated that system-wide is not recommended and comes with a number of usability and security drawbacks.
2019-10-27Merge pull request #65698 from Infinisil/system-usersSilvan Mosberger1-2/+2
Increase the system user id range
2019-10-26nixos/i18n: use str instead of string for consoleKeyMapWilliButz1-5/+1
2019-10-24Merge master into staging-nextFrederik Rietdijk1-1/+1
2019-10-23users-groups: fix typoDrew1-1/+1
Fix typo in the ``users.users.<name>.packages`` option description.
2019-10-16pinentry: build with multiple outputs in single drvFranz Pletz1-1/+0
Co-authored-by: Florian Klink <flokli@flokli.de> Co-authored-by: worldofpeace <worldofpeace@protonmail.ch>
2019-10-16Revert "Merge pull request #71095 from flokli/pinentry-cleanup"worldofpeace1-0/+1
This reverts commit 823da4d492b8b4ad46bf812db8421d99ff17a8fc, reversing changes made to b75c8ee3bc1b9734c29740e9d17ac2175fe207fd.
2019-10-16pinentry: build with multiple outputs in single drvFranz Pletz1-1/+0
Co-authored-by: Florian Klink <flokli@flokli.de> Co-authored-by: worldofpeace <worldofpeace@protonmail.ch>
2019-10-15nixos/system-environment: prepend wrapperDir to PATH (#70430)Tor Hedin Brønner1-0/+7
This fixes user environment setup for sessions which doesn't successfully go through a shell init. Note we don't go through `sessionVariables` as we want the wrappers to have highest priority. It would also cause wrapperDir to occur twice when in shell sessions, as shells use `sessionVariables` too while prepending wrapperDir in a custom snippet. In particular logging in and out of gnome-shell could result in a broken path without this fix.
2019-10-14nixos/users: Increase maximum system uid/gid from 499 to 999Silvan Mosberger1-2/+2
This enlarges the system uid/gid range 6-fold, from 100 to 600 ids. This is a preventative measure against running out of dynamically allocated ids for NixOS services with isSystemUser, which should become the preferred way of allocating uids for non-real users.
2019-10-11nixos/pulseaudio: don't autospawn everworldofpeace1-2/+1
This is long been superseded by socket activation. Additonally using autospawn nudges some unpleasant GDM related issues.
2019-10-09Fix documentation typoHaemin Yoo1-1/+1
2019-10-05nixos/system-environment: use pam syntax for home variableworldofpeace1-3/+1
2019-10-01nixos/system-environment: fix syntax for environment variablesMichael Peyton Jones1-1/+3
`@` synax is for `PAM_ITEM`s, `HOME` needs to use `$`.
2019-10-01nixos/system-environment: replace env vars in values of variables tooMichael Peyton Jones1-7/+7
We were only replacing them in the profiles. We also need to do this in the values of variables, including both the session-relative variables and the non-session-relative variables.
2019-09-26nixos/sysctl: reduce prio of "kernel.kptr_restrict" to mkDefaultJörg Thalheim1-1/+1
Users should be able to override this value without having to use mkForce.
2019-09-18nixos/xdg/icons: match XCURSOR_PATH specworldofpeace1-3/+14
2019-09-18nixos/xdg/icons: use profileRelativeSessionVariablesworldofpeace1-6/+6
2019-09-18nixos/terminfo: use profileRelativeSessionVariablesworldofpeace1-1/+1
2019-09-18nixos/system-environment: introduce environment.profileRelativeSessionVariablesRobert Helgesson2-10/+68
There is a need for having sessionVariables set relative to the Nix Profiles. Such as in #68383.
2019-09-12nixos/shells-environment: Make ~/bin/ in $PATH optionalChuck1-2/+12
2019-09-09Merge pull request #67795 from matthewbauer/remove-hidden-binsMatthew Bauer1-0/+3
nixos/system-path: remove wrappers from system-path
2019-09-09nixos/system-path: remove wrappers from system-pathMatthew Bauer1-0/+3
Remove .*-wrapped files from system-path. These files aren’t needed in the path for users.
2019-09-08treewide: remove redundant quotesvolth1-2/+2
2019-09-06Merge branch 'master' into staging-nextJan Tojnar1-1/+1
Fixed trivial conflicts caused by removing rec.
2019-09-06tree-wide: s/GTK+/GTK/gJan Tojnar1-1/+1
GTK was renamed.
2019-09-02Merge branch 'master' into stagingVladimír Čunát3-7/+25
2019-09-01nixos/fonts.enableDefaultFonts: add Noto EmojiJan Tojnar1-0/+1
These days, emoji are ubiqitous so we need to add emoji font.
2019-09-01nixos/fontconfig: Allow setting default emoji fontJan Tojnar1-1/+18
In fontconfig’s 60-generic.conf, order of preference is estabilished for emoji font family. Because fontconfig parses the config files in lexicographic order, appending each <prefer> from <alias> element to the family’s prefer list (to be prepended before the family) [1], our font family defaults stored in 52-nixos-default-fonts.conf will take precedence. That is, of course, unless the default „weak“ binding [2] is used. Emoji family binds strongly [3], so we need to set binding to “same” for our <alias>es to be considered before the ones from 60-generic.conf. By default, we will set the option to all emoji fonts supported by fontconfig, so that emoji works for user if they have at least one emoji font installed. If they have multiple emoji fonts installed, we will use the fontconfig’s order of preference [4]. [1]: https://github.com/bohoomil/fontconfig-ultimate/issues/51#issuecomment-64678322 [2]: https://www.freedesktop.org/software/fontconfig/fontconfig-user.html#AEN25 [3]: https://gitlab.freedesktop.org/fontconfig/fontconfig/commit/cc8442dec85e9d416436d19eeae1783f2d3008f0 [4]: https://gitlab.freedesktop.org/fontconfig/fontconfig/commit/c41c9220181b203d1cf1f6435f6e3735cb7c84ac
2019-08-31nixos/modules: Remove all usages of types.stringSilvan Mosberger1-6/+6
And replace them with a more appropriate type Also fix up some minor module problems along the way
2019-08-31Merge staging-next into stagingFrederik Rietdijk1-1/+1
2019-08-30nixos/fontconfig-penultimate: disable by defaultworldofpeace1-1/+1
It currently lacks an emoji font-family which means it has to be disabled for them to function [0]. Additionally it's fallen out of necessity to ship custom font rendering settings (as far as I'm aware of). [0]: https://github.com/NixOS/nixpkgs/pull/67215
2019-08-28treewide: remove redundant recvolth1-1/+1
2019-08-28Merge staging-next into stagingFrederik Rietdijk6-315/+478
2019-08-26treewide: remove redundant quotesvolth10-22/+22
2019-08-25nixos/update-users-groups.pl: chomp hashedPasswordMatthew Bauer1-0/+1
We don’t want any trailing whitespace, otherwise we mess up the formating of the shadow file. Some things like readFile may have the trailing new line. Fixes #66745
2019-08-23nixos/vte: ensure bash vte snippet appears firstworldofpeace1-1/+1
Fixes #67312