18 lines
335 B
Nix
18 lines
335 B
Nix
{ lib, config, ...}:
|
|
let
|
|
cfg = config.sddm;
|
|
in {
|
|
options = {
|
|
sddm.enable = lib.mkEnableOption "Enable Module";
|
|
dataDir = mkOption {
|
|
type = types.path;
|
|
description = "sddm theme path";
|
|
default = "/usr/share/sddm/themes/${theme}";
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
#config contents
|
|
}
|
|
}
|