summary refs log tree commit diff
path: root/nixos/modules/rename.nix
Commit message (Collapse)AuthorAge
...
| * nixos/sslh: rename 'host' to 'listenAddress'Bjørn Forsman2015-12-24
| | | | | | | | More descriptive option name.
| * nixos/shout: rename 'host' to 'listenAddress'Bjørn Forsman2015-12-24
| | | | | | | | More descriptive option name.
| * nixos/statsd: rename 'host' to 'listenAddress'Bjørn Forsman2015-12-24
| | | | | | | | More descriptive option name.
| * nixos/graphite: rename 'host' to 'listenAddress'Bjørn Forsman2015-12-24
| | | | | | | | More descriptive option name.
| * nixos/cadvisor: rename 'host' to 'listenAddress'Bjørn Forsman2015-12-24
| | | | | | | | More descriptive option name.
| * nixos/subsonic: rename 'host' to 'listenAddress'Bjørn Forsman2015-12-24
| | | | | | | | More descriptive option name.
| * nixos/docker-registry: rename 'host' to 'listenAddress'Bjørn Forsman2015-12-24
| | | | | | | | More descriptive option name.
| * nixos/mpd: rename 'host' to 'listenAddress'Bjørn Forsman2015-12-24
| | | | | | | | More descriptive option name.
| * nixos/neo4j: rename 'host' to 'listenAddress'Bjørn Forsman2015-12-24
| | | | | | | | More descriptive option name.
* | hostapd: rename extraCfg -> extraConfig, added assertsJakob Gillich2015-12-26
|/
* 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.
* nixos: give users of 'services.openvpn.enable' a nice warning messagePeter Simons2015-09-10
|
* Rename users.extraUsers -> users.users, users.extraGroup -> users.groupsEelco Dolstra2015-09-02
| | | | The "extra" part hasn't made sense for years.
* Rename services.openssh.knownHosts -> programs.ssh.knownHostsEelco Dolstra2015-08-27
| | | | This option configures the SSH client, not the server.
* nixos: make services.smartd much more helpfulJan Malakhovski2015-08-16
| | | | | | Now it generates notifications for auto-detected devices as well as for explicitly configured ones, sends well formed e-mails and supports immediate `wall` and `xmessage` notifications.
* nixos/vbox: Move all options to virtualisation.*.aszlig2015-08-13
| | | | | | | | | | | | Commit 687caeb renamed services.virtualboxHost to programs.virtualbox, but according to the discussion on the commit, it's probably a better to put it into virtualisation.virtualbox instead. The discussion can be found here: https://github.com/NixOS/nixpkgs/commit/687caeb#commitcomment-12664978 Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Rename services.virtualboxHost -> programs.virtualboxEelco Dolstra2015-08-12
| | | | VirtualBox is an application, not a system service.
* Merge pull request #6702 from joachifm/dnscrypt-proxyJames Cook2015-07-12
|\ | | | | nixos: some improvements for dnscrypt-proxy
| * dnscrypt-proxy service: support custom providersJoachim Fasting2015-06-12
| | | | | | | | | | | | | | The primary use-case is private DNSCrypt providers. Also rename the `port` option to differentiate it from the `customResolver.port` option.
* | Remove option ec2.metadataEelco Dolstra2015-06-30
|/
* Make environment.checkConfigurationOptions an aliasEelco Dolstra2015-04-10
| | | | | NixOps uses it, and we can't change it there for backward-compatibility reasons.
* Merge rename.nix changes.Nicolas B. Pierron2015-04-03
|\
| * Remove XBMC expressions in favor of the Kodi onesEdward Tjörnhammar2015-03-30
| |
* | Document and rename internal option of modules.Nicolas B. Pierron2015-03-15
| |
* | evalModules: Add internal option for the check argumentShea Levy2015-03-12
|/
* nixos: refactor tarsnap backup service moduleJoachim Fasting2015-03-10
| | | | | | | | | | | | | | | | Major changes - Port to systemd timers: for each archive configuration is created a tarsnap@archive-name.timer which triggers the instanced service unit - Rename the `config` option to `archives` Minor/superficial improvements - Restrict tarsnap service capabilities - Use dirOf builtin - Set executable bit for owner of tarsnap cache directory - Set IOSchedulingClass to idle - Humanize numbers when printing stats - Rewrite most option descriptions - Simplify assertion
* 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.