From 2955b2fcf4c14c0563025c35fe8c98a2a5d6588a Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Fri, 4 Dec 2015 07:38:23 -0200 Subject: Getting rid of mkOption in NixOS window manager modules Now the default way to define NixOS window manager modules is to use mkEnableOption to describe the module itself. In this commit, all files on nixos/modules/services/x11/window-managers are changed. --- nixos/modules/services/x11/window-managers/ratpoison.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'nixos/modules/services/x11/window-managers/ratpoison.nix') diff --git a/nixos/modules/services/x11/window-managers/ratpoison.nix b/nixos/modules/services/x11/window-managers/ratpoison.nix index c203c35cd1b71..0d58481d45791 100644 --- a/nixos/modules/services/x11/window-managers/ratpoison.nix +++ b/nixos/modules/services/x11/window-managers/ratpoison.nix @@ -8,10 +8,7 @@ in { ###### interface options = { - services.xserver.windowManager.ratpoison.enable = mkOption { - default = false; - description = "Enable the Ratpoison window manager."; - }; + services.xserver.windowManager.ratpoison.enable = mkEnableOption "ratpoison"; }; ###### implementation -- cgit 1.4.1