config/modules/home/wms/niri/default.nix
2025-05-28 17:04:41 -04:00

23 lines
No EOL
432 B
Nix

{
options,
config,
lib,
inputs,
pkgs,
...
}:
with lib;
with lib.custom; {
options.wms.niri = with types; {
enable = mkBoolOpt false "Enable niri";
};
imports = optionals (pkgs.stdenv.isLinux) [
./config.nix
];
# For Darwin, just provide empty configuration
config = mkIf (config.wms.niri.enable && pkgs.stdenv.isDarwin) {
# Empty configuration for Darwin - module is effectively disabled
};
}