Files
nixos-blueprint/modules/home/desktop/cosmic/default.nix
T
2026-01-24 22:57:18 +02:00

22 lines
416 B
Nix

{
osConfig,
perSystem,
config,
pkgs,
lib,
...
}:
with lib; let
# inherit (osConfig.module.stylix) theme;
cfg = config.desktop.cosmic;
in {
options = {
desktop.cosmic.enable =
mkEnableOption "enable cosmic desktop";
};
config = let
importWithArgs = file: import file {inherit config inputs lib perSystem pkgs importWithArgs;};
in
mkIf cfg.enable (importWithArgs ./config);
}