Files
nixos-blueprint/modules/home/desktop/dms/default.nix
T
2025-12-21 22:16:22 +02:00

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);
}