.
This commit is contained in:
parent
6eade157b3
commit
7e402167b4
8 changed files with 32 additions and 46 deletions
17
modules/desktop/default.nix
Normal file
17
modules/desktop/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ config, options, lib, pkgs, ... }:
|
||||
let
|
||||
inherit (builtins) isAttrs;
|
||||
inherit (lib.attrsets) attrValues;
|
||||
inherit (lib.modules) mkIf mkMerge;
|
||||
inherit (lib.my) anyAttrs countAttrs value;
|
||||
|
||||
cfg = config.modules.desktop;
|
||||
in
|
||||
{
|
||||
options.modules.desktop = let
|
||||
inherit (lib.types) either str;
|
||||
inherit (lib.my) mkOpt;
|
||||
in {
|
||||
type = mkOpt (either str null) null;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue