summary refs log tree commit diff
path: root/nixos/modules/config
Commit message (Collapse)AuthorAge
* fix manualDomen Kožar2015-01-03
|
* clarify things about hashed passwords and mutableUsersDomen Kožar2015-01-02
|
* Switch default timezone in NixOS from "CET" to "UTC".Peter Simons2014-12-15
| | | | Suggested in https://github.com/NixOS/nixpkgs/pull/5332.
* nixos: fix config.fonts.fontconfig.ultimate.allowBitmapsThomas Tuegel2014-12-15
| | | | | The option was incorrectly negated, so that 'allowBitmaps = true' actually disabled bitmap fonts.
* Get rid of a warning about dbus in the activation scriptEelco Dolstra2014-12-12
|
* nixos: let fontconfig default fonts be lists of fontsThomas Tuegel2014-12-08
|
* Replace Bitstream Vera fonts by DejaVu in defaultsThomas Tuegel2014-12-08
| | | | | | The default configuration installed the Bitstream Vera fonts, but DejaVu is a superior replacement, and the default Fontconfig settings need it now for the generic faces monospace, sans-serif, and serif.
* Add NixOS module for fontconfig-ultimateThomas Tuegel2014-12-08
| | | | | | | | | | | | | | | | | | | | | | Details: * The option `fonts.fontconfig.ultimate.enable` can be used to disable the fontconfig-ultimate configuration. * The user-configurable options provided by fontconfig-ultimate are exposed in the NixOS module: `allowBitmaps` (default: true), `allowType1` (default: false), `useEmbeddedBitmaps` (default: false), `forceAutohint` (default: false), `renderMonoTTFAsBitmap` (default: false). * Upstream provides three substitution modes for substituting TrueType fonts for Type 1 fonts (which do not render well). The default, "free", substitutes free fonts for Type 1 fonts. The option "ms" substitutions Microsoft fonts for Type 1 fonts. The option "combi" uses a combination of Microsoft and free fonts. Substitutions can also be disabled. * All 21 of the Infinality rendering modes supported by fontconfig-ultimate or by the original Infinality distribution can be selected through `fonts.fontconfig.ultimate.rendering`. The default is the medium style provided by fontconfig-ultimate. Any of the modes may be customized, or Infinality rendering can be disabled entirely.
* Rewrite Fontconfig NixOS moduleThomas Tuegel2014-12-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Details: * The option `fonts.enableFontConfig` has (finally) been renamed `fonts.fontconfig.enable`. * Configurations are loaded in this order: first the Fontconfig-upstream configuration is loaded, then the NixOS-specific font directories are set, the system-wide default configuration is loaded, and finally the user configuration is loaded (if enabled). * The NixOS options `fonts.fontconfig.defaultFonts.monospace`, `fonts.fontconfig.defaultFonts.sansSerif` and `fonts.fontconfig.defaultFonts.serif` are added to allow setting the default system-wide font used for these generic faces. The defaults are the appropriate faces from the DejaVu collection because of their comprehensive Unicode coverage, clean rendering, and excellent legibility. * The NixOS option `fonts.fontconfig.antialias` can be used to disable antialiasing (it is enabled by default). * The options `fonts.fontconfig.subpixel.rgba` and `fonts.fontconfig.subpixel.lcdfilter` control the system-wide default settings for subpixel order and LCD filtering algorithm, respectively. * `fonts.fontconfig.hinting.enable` can be used to disable TrueType font hinting (it is enabled by default). `fonts.fontconfig.hinting.autohint` controls the FreeType autohinter. `fonts.fontconfig.hinting.style` controls the hint style; it is "full" by default. * User configurations can be disabled system-wide by setting `fonts.fontconfig.includeUserConf = false`. They are enabled by default so users can set Fontconfig options in the desktop environment of their choice.
* Improve readability - from ↵Antoine R. Dumont2014-11-30
| | | | https://github.com/NixOS/nixpkgs/pull/5058#discussion_r21043552
* Introduce a dedicated networking.proxy optionAntoine R. Dumont2014-11-30
| | | | | | | | | | | | Following the discussion NixOS#5021: - obsolete the nix.proxy option - add the networking.proxy option - open a default no_proxy environment variable - add a rsync option - Manual tests ok. - Automatic tests ok. Amended by lethalman to simplify the option descriptions.
* nixos/networking: FixesWilliam A. Kennington III2014-11-26
|
* nixos/networking: Rebuild resolvconf during activationWilliam A. Kennington III2014-11-26
| | | | | | | This is needed when /etc/resolv.conf is being overriden by networkd and other configurations. If the file is destroyed by an environment activation then it must be rebuilt so that applications which interface with /etc/resolv.conf directly don't break.
* networkd: Support Host ResolvconfWilliam A. Kennington III2014-11-26
|
* systemd: Enable more network servicesWilliam A. Kennington III2014-11-26
|
* Merge branch 'master' into stagingLuca Bruno2014-11-10
|\
| * update-users-groups.pl: Use UTF-8 instead of latin1.Rüdiger Sonderfeld2014-11-08
| | | | | | | | | | | | | | | | | | Perl seems to write the file in latin1 independent of the actual input encoding. This can corrupt the "description" field of /etc/passwd. By setting "binmode" to ":utf8" Perl can be forced to write UTF-8. Ideally the program would simply read/write the fields by value without any changes in encoding. However, assuming/enforcing UTF-8 is a lot better than using an obsolete coding like latin1.
* | Merge recent master into stagingVladimír Čunát2014-11-05
|\| | | | | | | | | | | | | | | | | | | | | Nixpkgs Hydra: ?compare=1157272 TODO: port e22889064f82be3 Conflicts: nixos/tests/gnome3_10.nix (auto-solved) pkgs/applications/video/aegisub/default.nix pkgs/development/libraries/boost/1.55.nix
| * Obsolete security.initialPasswordEelco Dolstra2014-11-03
| | | | | | | | You can now set users.extraUsers.root.initialHashedPassword instead.
| * Handle initialPassword and initialHashedPassword for !mutableUsersEelco Dolstra2014-11-03
| | | | | | | | | | | | In this case, they're equivalent to setting ‘password’ and ‘hashedPassword’ (since there is no distinction between an initial and non-initial user account state).
| * Handle removing a password if mutableUsers = falseEelco Dolstra2014-11-03
| |
| * Add initialPassword and initialHashedPassword optionsEelco Dolstra2014-11-03
| | | | | | | | | | These are like password and hashedPassword, except that they only apply when the user is initially created.
* | fontconfig: patch and documentVladimír Čunát2014-11-05
| |
* | Merge remote-tracking branch 'origin/master' into staging.Peter Simons2014-11-02
|\|
| * update-users-groups.pl: Generate hashed passwords internallyEelco Dolstra2014-10-31
| | | | | | | | | | | | | | | | | | I.e. don't call "passwd" to update /etc/shadow from the "password" option. This has the side-effect of not updating the password if mutableUsers = true (since the code path for "hashedPassword" has a check for mutableUsers). Fixes #4747.
* | Merge remote-tracking branch 'origin/master' into stagingEelco Dolstra2014-10-24
|\|
| * passwordFile: update descriptionLongrin Wischnewski2014-10-23
| |
* | fontconfig: update 2.10.2 -> 2.11.1. Close #4410, #2050Luca Bruno2014-10-23
| |
* | Merge remote-tracking branch 'origin/master' into stagingEelco Dolstra2014-10-16
|\| | | | | | | | | Conflicts: pkgs/development/libraries/poppler/default.nix
| * eval fixDomen Kožar2014-10-07
| |
* | Merge remote-tracking branch 'origin/master' into stagingEelco Dolstra2014-10-07
|\| | | | | | | | | | | | | Conflicts: pkgs/development/libraries/libav/default.nix pkgs/shells/bash/bash-4.2-patches.nix pkgs/stdenv/generic/default.nix
| * FONTCONFIG_FILE: remove setters to /etc/fonts/fonts.confVladimír Čunát2014-10-05
| | | | | | | | | | | | | | | | | | | | Any reasonably new version of fontconfig does search that path by default, and setting this globally causes problems, as 2.10 and 2.11 need incompatible configs. Tested: slim+xfce desktop, chrootenv-ed steam. I have no idea why we were setting the global variable; e.g., neither Fedora nor Ubuntu does that.
| * pulseaudio: Add support for 32bit alsa apps on 64bit systems.Nathaniel Baxter2014-10-04
| |
| * nixos: Add also group.members to groupRickard Nilsson2014-09-22
| |
* | Merge remote-tracking branch 'origin/master' into stagingEelco Dolstra2014-09-18
|\|
| * Manual: Remove some option defaults that refer to store pathsEelco Dolstra2014-09-18
| | | | | | | | | | | | Option defaults should not refer to store paths, because they cause the manual to be rebuilt gratuitously. It's especially bad to refer to a highly variable path like a computed configuration file.
| * Support users-groups.json referring to store pathsEelco Dolstra2014-09-10
| | | | | | | | Fixes #4016.
* | Merge recent master into stagingVladimír Čunát2014-09-13
| | | | | | | | Hydra nixpkgs: ?compare=1151601
* | Merge remote-tracking branch 'origin/systemd-216' into stagingEelco Dolstra2014-09-08
|\ \ | |/ |/|
| * Merge remote-tracking branch 'origin/master' into systemd-216Eelco Dolstra2014-09-02
| |\
| * | Enable systemd's mymachines NSS moduleEelco Dolstra2014-08-24
| | | | | | | | | | | | It makes every local container registered with machined resolvable.
* | | Merge remote-tracking branch 'origin/staging'Eelco Dolstra2014-09-08
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: pkgs/applications/version-management/subversion/default.nix
| * \ \ Merge recent master into stagingVladimír Čunát2014-09-06
| |\ \ \ | | | | | | | | | | | | | | | Hydra: ?compare=1150594
| * | | | Fix subuid/subgid generationEelco Dolstra2014-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | I don't think we need to filter users with an unset uid, because mkSubuidEntry/mkSubgidEntry don't references the uid.
| * | | | Merge branch 'origin/master' into staging.Peter Simons2014-09-02
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | Conflicts: pkgs/development/libraries/ffmpeg/2.x.nix pkgs/development/libraries/serf/default.nix
| * | | | Merge recent master into stagingVladimír Čunát2014-08-30
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hydra: ?compare=1149952 Conflicts: nixos/doc/manual/configuration.xml (changed split file) nixos/modules/config/users-groups.nix (choosing filterNull instead of inline definition) pkgs/development/libraries/readline/readline6.3.nix (auto-solved)
| * \ \ \ \ Merge recent master into stagingVladimír Čunát2014-08-21
| |\ \ \ \ \ | | | |_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Hydra: ?compare=1148749 Conflicts (easy): nixos/modules/virtualisation/containers.nix
| * | | | | Fix setting an empty passwordEelco Dolstra2014-08-18
| | | | | |
| * | | | | Add user attribute isNormalUserEelco Dolstra2014-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is shorthand for setting group, createHome, home, useDefaultShell and isSystemUser.
| * | | | | Unify mutableUsers = { true, false }Eelco Dolstra2014-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With mutableUsers = true, we now ensure that all users and groups that were created declaratively, are updated or removed appropriately. Thus, adding a user to users.extraUsers and then removing it now causes the acoount to be removed from /etc/passwd. Thus user/group management is fully congruent except that users and groups that were created imperatively (via useradd/groupadd) are not touched. We distinguish between declarative and imperative users/groups by tracking the former in /var/lib/nixos/declarative-{groups,users}. With mutableUsers = false, you are now no longer required to specify UIDs/GIDs for all users. The handling of mutableUsers = true/false is the same code path; the only difference is that the "false" mode ignores the existing contents of /etc/{passwd,group}. The attribute ‘createUser’ is gone. It doesn't really make sense to specify users that shouldn't be created.