aboutsummaryrefslogtreecommitdiff
path: root/modules/desktop/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/default.nix')
-rw-r--r--modules/desktop/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix
index f150066..3ee9fb5 100644
--- a/modules/desktop/default.nix
+++ b/modules/desktop/default.nix
@@ -1,5 +1,15 @@
{lib, config, pkgs, ...}:
+with lib;
+
{
+ options.sys.graphics = {
+ desktopProtocols = mkOption {
+ type = with types; listOf (enum ["xorg" "wayland"]);
+ default = [];
+ description = "Desktop protocols you want to use for your desktop environment. If unset, no desktop is installed (headless host).";
+ };
+ };
+
imports = [
./fonts.nix
./sound.nix