feat(home): Add isDesktop
This commit is contained in:
parent
f5b7a2c71e
commit
377e5a37d2
1 changed files with 11 additions and 0 deletions
11
modules/home/options/isDesktop/default.nix
Normal file
11
modules/home/options/isDesktop/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ lib, namespace, ... }:
|
||||
let
|
||||
inherit (lib) mkOption types;
|
||||
in
|
||||
{
|
||||
options.${namespace}.isDesktop = mkOption {
|
||||
type = with types; bool;
|
||||
default = false;
|
||||
description = "Whether this machine is used as a graphical desktop.";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue