diff --git a/modules/info.nix b/modules/info.nix deleted file mode 100644 index 6b2e32a..0000000 --- a/modules/info.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ config, lib, ... }: -with lib; -{ - options.info = { - monitors = mkOption { - type = types.int; - default = 1; - }; - - graphical = mkOption { - type = with types; bool; - default = false; - description = "Whether or not we are in a graphical environment"; - }; - }; - - config = { - info.graphical = config.services.xserver.enable; - }; -} diff --git a/modules/options.nix b/modules/options.nix index 7b80caa..316c4a9 100644 --- a/modules/options.nix +++ b/modules/options.nix @@ -15,6 +15,11 @@ with lib.hlissner; }; env = mkOpt attrs { }; + + info = { + monitors = mkOpt int 1; + graphical = mkBoolOpt config.services.xserver.enable; + }; }; config = {