summary refs log tree commit diff
path: root/nixos/modules/config
Commit message (Collapse)AuthorAge
* KDC description fixAl Zohali2016-03-07
|
* Revert "Add the tool "nixos-typecheck" that can check an option declaration to:"Eelco Dolstra2016-03-01
| | | | | | This reverts commit cad8957eabcbf73062226d28366fd446c15c8737. It breaks NixOps, but more importantly, such major changes to the module system really need to be reviewed.
* Add the tool "nixos-typecheck" that can check an option declaration to:Thomas Strobel2016-02-29
| | | | | | | | | | | | | | - Enforce that an option declaration has a "defaultText" if and only if the type of the option derives from "package", "packageSet" or "nixpkgsConfig" and if a "default" attribute is defined. - Enforce that the value of the "example" attribute is wrapped with "literalExample" if the type of the option derives from "package", "packageSet" or "nixpkgsConfig". - Warn if a "defaultText" is defined in an option declaration if the type of the option does not derive from "package", "packageSet" or "nixpkgsConfig". - Warn if no "type" is defined in an option declaration.
* nixos: remove qtPlugins and gtkPluginsThomas Tuegel2016-02-28
| | | | | | | Both Qt and GTK load plugins from the active profiles automatically, so it is sufficient to install input methods system-wide. Overriding the plugin paths may interfere with correct operation of other plugins.
* nixos/vpnc: fix formatting of exampleLeroy Hopson2016-02-27
|
* Merge branch 'master' into stagingVladimír Čunát2016-02-07
|\
| * Merge pull request #11737 from MatrixAI/masterFranz Pletz2016-01-30
| |\ | | | | | | Simplified totalmem calculation for zram.nix
| | * zram: simplified totalmem calculation for zram.nixRoger Qiu2016-01-29
| | |
* | | fontconfig service: add pre-generated fonts cachesNikolay Amiantov2016-01-29
|/ /
* | nixos: fix evaluationTobias Geerinckx-Rice2016-01-20
| | | | | | | | | | | | | | After commit 5e468b9, evaluation failed with: error: undefined variable ‘dnsExtensionMechanism’ at .../nixpkgs/nixos/modules/config/networking.nix:177:33
* | nixos: add 'networking.dnsExtensionMechanism' option to enable edns0 (for ↵Peter Simons2016-01-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DNSSEC) Set this option to 'true' (default: 'false') to enable extension mechanisms for DNS (EDNS) in your local glibc resolver. This is required for supporting DNSSEC, for example. Implementation detail: the patch changes assignments to "resolv_conf_options" to use "+=" instead of "=" to ensure that multiple users of that variable don't overwrite each other. The generated config file is a shell script, after all, so this should work fine. Closes https://github.com/NixOS/nixpkgs/issues/12470.
* | Add missing 'type', 'defaultText' and 'literalExample' in module definitionsThomas Strobel2016-01-17
| | | | | | | | | | | | - add missing types in module definitions - add missing 'defaultText' in module definitions - wrap example with 'literalExample' where necessary in module definitions
* | swap service: don't restart mkswap.service on switchesNikolay Amiantov2016-01-12
| | | | | | | | Sadly, we can't instruct systemd to properly restart device-name.swap when this service restarts (or I haven't found the way to do so). As of now blindly restarting it would only get you a bunch of errors about device already used -- let's avoid it.
* | nixos/swap: fix stopping mkswap for encrypted deviceNikolay Amiantov2016-01-12
| |
* | Fix package name typoJacob Mitchell2016-01-02
| |
* | sysctl: use literalExample in docsAnders Papitto2015-12-30
| |
* | Merge pull request #11767 from aaronlevin/scsi-power-mgmnt-policyPeter Simons2015-12-20
|\ \ | | | | | | Set `link_power_policy_management` default to "max_performance"
| * | Remove default scsiLinkPolicyaaron levin2015-12-17
| | |
| * | link_power_policy_management default to max_performanceaaron levin2015-12-16
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | The kernel default for `link_power_management_policy` is `"max_performance"`. This commit: https://github.com/NixOS/nixpkgs/commit/f169f60575bec7c61626af180cae364d321b4bec set the NixOS default to `"min_performance"`. This issue (https://github.com/NixOS/nixpkgs/issues/11276) details my long journey to discover this after several file system failures incorrectly attributed to `TRIM` and `NCQ` settings. I think we should use the kernel default of `"max_performance"` to assure the best experience for new users with SSDs and to conform to the defaults of the kernel and other distros.
* / nixos: improve mime DB cache generation (close #11785)michael bishop2015-12-17
|/
* Merge pull request #11628 from grwlf/allproxyEelco Dolstra2015-12-11
|\ | | | | set all_proxy environment variable
| * set all_proxy environment variableSergey Mironov2015-12-11
| |
* | i18n: add color scheme option (close #9626)rnhmjoj2015-11-09
|/
* Add option environment.enableDebugInfoEelco Dolstra2015-10-30
| | | | | This makes the debug outputs of packages that have them available to programs like gdb.
* Factor out "man" into a separate module and add "man" outputs to system.pathEelco Dolstra2015-10-30
| | | | Fixes #10270.
* Add option to link additional package outputs into system.pathEelco Dolstra2015-10-30
| | | | | This is necessary to get stuff like separate manpages, info files, debug symbols, etc.
* Remove gnutar man page hackEelco Dolstra2015-10-30
| | | | | It's no longer needed since the gnutar package contains a (much more extensive) man page.
* nixos/swap: refactor, add randomEncryption optionNikolay Amiantov2015-10-20
|
* Factor out option renamingEelco Dolstra2015-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Option aliases/deprecations can now be declared in any NixOS module, not just in nixos/modules/rename.nix. This is more modular (since it allows for example grub-related aliases to be declared in the grub module), and allows aliases outside of NixOS (e.g. in NixOps modules). The syntax is a bit funky. Ideally we'd have something like: options = { foo.bar.newOption = mkOption { ... }; foo.bar.oldOption = mkAliasOption [ "foo" "bar" "newOption" ]; }; but that's not possible because options cannot define values in *other* options - you need to have a "config" for that. So instead we have functions that return a *module*: mkRemovedOptionModule, mkRenamedOptionModule and mkAliasOptionModule. These can be used via "imports", e.g. imports = [ (mkAliasOptionModule [ "foo" "bar" "oldOption" ] [ "foo" "bar" "newOption" ]); ]; As an added bonus, deprecation warnings now show the file name of the offending module. Fixes #10385.
* power management: restart post-resume.target on resumeThomas Strobel2015-10-06
| | | | | | Trigger a restart of the post-resume.target on resume. That allows other systemd services to receive the restart signal after resume by becoming 'partOf' the post-resume.target.
* nixos/fonts: Add unifont to list of default fonts.aszlig2015-09-26
| | | | | | | | | | | | | | | | | This fixes #10077 because after some debugging it turns out that by default we don't have a font which is able to display Chinese symbols. Thanks to @anderspapitto, @kmicu and hyper_ch on IRC to help debugging this issue, see log at: http://nixos.org/irc/logs/log.20150926 starting at 19:46 With unifont we have a reasonable fallback font to ensure that every written language is rendered correctly and thus less surprise for new users who keep their font settings at the default. Reported-by: Anders Papitto <anderspapitto@gmail.com> Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Merge pull request #9683 from ts468/upstream.resolvconfts4682015-09-26
|\ | | | | nixos networking module: resolvconf + dnsmasq
| * networking module: add extraResolvconfConf optionThomas Strobel2015-09-26
| |
* | Manual: Remove store path referencesEelco Dolstra2015-09-24
|/
* nixos: fix some typesJan Malakhovski2015-09-18
|
* nixos,lib: move environment generation related copy-paste to libJan Malakhovski2015-09-18
|
* gdb: Look for debug info in /run/current-system/sw/lib/debugEelco Dolstra2015-09-17
| | | | | | | | | | The previous default was $out/lib/debug, which wasn't very useful. This ensures that you can do environment.systemPackages = [ pkgs.hello.debug ]; to install debug info.
* nixos i18n: add option to set console keymap from xkbGeoffrey Reedy2015-09-13
| | | | Close #9675. The expression was refactored heavily by vcunat.
* nixos: environment.pathsToLink += some desktop dirsobadz2015-09-07
| | | | | | Close #9622. (adding common desktop locations and locations specified in http://standards.freedesktop.org/menu-spec/1.1/)
* Rename users.extraUsers -> users.users, users.extraGroup -> users.groupsEelco Dolstra2015-09-02
| | | | The "extra" part hasn't made sense for years.
* If !cfg.mutableUsers, require a password or SSH authorized keyEelco Dolstra2015-09-02
| | | | Fixes https://github.com/NixOS/nixpkgs/issues/7308
* nixos: generate infodirs directly in system-pathJan Malakhovski2015-08-18
| | | | | | | | | | | | | | `man 1 info` says: The first non-option argument, if present, is the menu entry to start from; it is searched for in all `dir' files along INFOPATH. If it is not present, info merges all `dir' files and shows the result. Any remaining arguments are treated as the names of menu items relative to the initial node visited. Which means that this does what previous programs/info did and #8519 (on-the-fly infodir generation for Emacs) wanted to do, but for both programs.
* nixos: add /share/doc and /share/nano (for symmetry) to environment.pathsToLinkJan Malakhovski2015-08-18
| | | | and sort all of them
* types.nix: better error message for non-pathsBenno Fünfstück2015-08-15
| | | | | | | | | | | | | | | | This improves error messages when a set or a list is used where a path was expected. For an example, if you used a package set (as opposed to a single package) in systemPackages before this commit, the error was: ``` cannot coerce a list to a string, at "/home/nixpkgs/lib/types.nix":103:37 ``` Now, the error message reads: ``` The option value `environment.systemPackages' in `/etc/nixos/configuration.nix' is not a list of paths. ```
* nixos/fontconfig: separate rendering and alias configurationThomas Tuegel2015-08-04
| | | | | | | Fixes #9110. Fontconfig recommends different precedence for rendering settings and generic alias settings. To comply with the recommendations, `98-nixos.conf` has been separated into `10-nixos-rendering.conf` and `60-nixos-generic-alias.conf`.
* nixos: let's not forget types in the timezone moduleJan Malakhovski2015-07-31
|
* Merge branch 'master.upstream' into staging.upstreamWilliam A. Kennington III2015-07-05
|\
| * pam_mount module: integrate pam_mount into PAM of NixOSThomas Strobel2015-07-04
| |
* | krb5: Break out into a lib and not lib versionWilliam A. Kennington III2015-06-26
|/
* nixos: Replace pkgs.openssh with config.programs.ssh.packageWilliam A. Kennington III2015-06-26
|