WIP: refactor
This commit is contained in:
16
modules/opts/desktop/default.nix
Normal file
16
modules/opts/desktop/default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.opts.desktop;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
opts.desktop = {
|
||||
enable = lib.mkEnableOption "desktop environment";
|
||||
pipewire.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
description = "Enable pipewire for audio and screen sharing support";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user