summary refs log tree commit diff
path: root/nixos/modules/rename.nix
Commit message (Collapse)AuthorAge
* nixos/rename: Fix merging multiple destinations.aszlig2015-01-22
| | | | | | | | | | | | | | The renaming of options define the original value for the new attribute path. This works well if there is only *one* target, but if there are more, we end up recursing into the attribute set of the option definition itself. We now check for that within the parent recursion node (we can't check that from the subnode, because we lack that information about whether it's defined multiple times) and if the subnode consist entirely of a list of definitions, we use mkMerge on it. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* modules: Extract mkAliasDefinition from the rename.nix NixOS module.Nicolas B. Pierron2014-12-22
|
* 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.
* 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: Rename virtualbox to virtualboxGuest.aszlig2014-11-27
| | | | | | | | | Especially new users could be confused by this, so we're now marking services.virtualbox.enable as obsolete and defaulting to services.virtualboxGuest.enable instead. I believe this now makes it clear, that this option is for guest additions only. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Revert "Revert "syslog-ng: Update from 3.5.6 to 3.6.1""Rickard Nilsson2014-11-06
| | | | This reverts commit 8e1072fd60f9dcf5eac0bb2d604258f121b658d8.
* Revert "syslog-ng: Update from 3.5.6 to 3.6.1"William A. Kennington III2014-11-02
| | | | This reverts commit e2ada42623f26d51cf7d1253ac0700297e1a9b83.
* syslog-ng: Update from 3.5.6 to 3.6.1Rickard Nilsson2014-10-27
| | | | | Also update the NixOS module, syslog-ng now automatically listens to the systemd journal, so we don't have to set up syslog.socket.
* nixos/syslog-ng: Replace option serviceName with listenToJournal. Fix socket ↵Rickard Nilsson2014-10-14
| | | | activation
* nixos: mark services.samba.defaultShare as obsoleteBjørn Forsman2014-09-24
| | | | | It was removed in 753d9d4e4fb3d773c93ba005007c6578edd4bf7e ("nixos/samba: remove services.samba.defaultShare option").
* Remove the option ‘programs.bash.enable’Eelco Dolstra2014-04-29
| | | | | | | | | | | NixOS has a pervasive dependency on bash. For instance, the X11 session script sources /etc/profile to get a reasonable environment. Thus we should not provide an option to disable bash. Also, enabling zsh no longer sets ‘users.defaultUserShell’ to zsh, to prevent a collision with bash's definition of the same option. (Changing the default shell is also something that should be left to the user.)
* Rename hardware.opengl.videoDrivers back to services.xserver.videoDriversEelco Dolstra2014-04-29
| | | | | | | | Fixes #2379. The new name was a misnomer because the values really are X11 video drivers (e.g. ‘cirrus’ or ‘nvidia’), not OpenGL implementations. That it's also used to set an OpenGL implementation for kmscon is just confusing overloading.
* Obsolete fonts.extraFontsEelco Dolstra2014-04-29
| | | | | You can now just set fonts.fonts, which will be merged with the default value unless you use mkOverride.
* Remove redundant spaceEelco Dolstra2014-04-18
|
* Start ssh-agent as a user unitEelco Dolstra2014-04-18
| | | | | | | | | | | | | | | | | | This has some advantages: * You get ssh-agent regardless of how you logged in. Previously it was only started for X11 sessions. * All sessions of a user share the same agent. So if you added a key on tty1, it will also be available on tty2. * Systemd will restart ssh-agent if it dies. * $SSH_AUTH_SOCK now points to the /run/user/<uid> directory, which is more secure than /tmp. For bonus points, we should patch ssh-agent to support socket-based activation...
* Rewrite ‘with pkgs.lib’ -> ‘with lib’Eelco Dolstra2014-04-14
| | | | | | | | Using pkgs.lib on the spine of module evaluation is problematic because the pkgs argument depends on the result of module evaluation. To prevent an infinite recursion, pkgs and some of the modules are evaluated twice, which is inefficient. Using ‘with lib’ prevents this problem.
* move windowManager.xbmc to desktopManager.xbmcDomen Kozar2014-03-12
|
* Get rid of services.mesa.* messageEelco Dolstra2014-03-03
|
* rename.nix: Handle renaming of a whole set of optionsShea Levy2014-02-26
| | | | | | mkIf was pushed down, making the obsoleted argument unconditionally evaluated Signed-off-by: Shea Levy <shea@shealevy.com>
* Merge mysql55 module into mysqlShea Levy2014-02-26
| | | | | This also removes the default for services.mysql.package, as this should not generally be updated automatically if we change the mysql attribute
* services.mesa -> hardware.openglShea Levy2014-02-08
| | | | Signed-off-by: Shea Levy <shea@shealevy.com>
* clarify rename error messagesDomen Kožar2014-02-04
|
* nixos: Split mesa setup from xserver.nixShea Levy2014-01-15
| | | | | | | With kmscon, it is now possible to have a system without X that still needs the mesa setup in /run/opengl-driver Signed-off-by: Shea Levy <shea@shealevy.com>
* Drop environment.x11PackagesEelco Dolstra2013-10-30
| | | | It doesn't do anything useful compared to environment.systemPackages.
* Add lots of missing option typesEelco Dolstra2013-10-30
|
* Rename environment.nix -> nix.packageEelco Dolstra2013-10-28
|
* rename.nix: Don't use the extraConfigs featureEelco Dolstra2013-10-28
|
* Do show aliases in the manual.Eelco Dolstra2013-10-23
|
* rename.nix: Don't use splitStringEelco Dolstra2013-10-23
| | | | It's very slow.
* Add a way to define obsolete options that have no replacementEelco Dolstra2013-10-23
|
* Fix styleEelco Dolstra2013-10-23
|
* Manual: Don't show obsolete/deprecated optionsEelco Dolstra2013-10-23
|
* Remove old efi boot stub bootloaderShea Levy2013-10-10
| | | | Signed-off-by: Shea Levy <shea@shealevy.com>
* Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra2013-10-10