diff options
author | AndersonTorres <torres.anderson.85@gmail.com> | 2015-12-04 07:38:23 -0200 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@gmail.com> | 2015-12-04 07:38:23 -0200 |
commit | 2955b2fcf4c14c0563025c35fe8c98a2a5d6588a (patch) | |
tree | f33388603fefca148ae25c103de42ccbc861d8c5 /nixos/modules/services/x11/window-managers/clfswm.nix | |
parent | 12de4d5cb3bdd703904cf75aa6ddb9b9eb8f9b68 (diff) | |
download | nixlib-2955b2fcf4c14c0563025c35fe8c98a2a5d6588a.tar nixlib-2955b2fcf4c14c0563025c35fe8c98a2a5d6588a.tar.gz nixlib-2955b2fcf4c14c0563025c35fe8c98a2a5d6588a.tar.bz2 nixlib-2955b2fcf4c14c0563025c35fe8c98a2a5d6588a.tar.lz nixlib-2955b2fcf4c14c0563025c35fe8c98a2a5d6588a.tar.xz nixlib-2955b2fcf4c14c0563025c35fe8c98a2a5d6588a.tar.zst nixlib-2955b2fcf4c14c0563025c35fe8c98a2a5d6588a.zip |
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.
Diffstat (limited to 'nixos/modules/services/x11/window-managers/clfswm.nix')
-rw-r--r-- | nixos/modules/services/x11/window-managers/clfswm.nix | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/nixos/modules/services/x11/window-managers/clfswm.nix b/nixos/modules/services/x11/window-managers/clfswm.nix index 9d8eecb56c77..176c1f461271 100644 --- a/nixos/modules/services/x11/window-managers/clfswm.nix +++ b/nixos/modules/services/x11/window-managers/clfswm.nix @@ -8,14 +8,7 @@ in { options = { - services.xserver.windowManager.clfswm = { - enable = mkOption { - type = types.bool; - default = false; - example = true; - description = "Enable the clfswm tiling window manager."; - }; - }; + services.xserver.windowManager.clfswm.enable = mkEnableOption "clfswm"; }; config = mkIf cfg.enable { |