26 lines
528 B
Nix
26 lines
528 B
Nix
{
|
|
config,
|
|
inputs,
|
|
lib,
|
|
perSystem,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.desktop.dms;
|
|
# inherit (config.lib.stylix) colors;
|
|
in {
|
|
imports = with inputs; [
|
|
dms.homeModules.dankMaterialShell.default
|
|
dms.homeModules.dankMaterialShell.niri
|
|
];
|
|
options = {
|
|
desktop.dms.enable =
|
|
mkEnableOption "enable DankMaterialShell";
|
|
};
|
|
config = let
|
|
importWithArgs = file: import file {inherit config inputs lib perSystem pkgs importWithArgs;};
|
|
in
|
|
mkIf cfg.enable (importWithArgs ./config);
|
|
}
|