Tuning/refactoring/etc

This commit is contained in:
Don Harper 2026-05-16 22:36:47 -05:00
parent cdfcbf76e3
commit 73482423ee
28 changed files with 189 additions and 211 deletions

View file

@ -0,0 +1,17 @@
{ lib, config, pkgs, inputs, outputs, home-manager, osConfig ? null, ... }:
with lib;
let
osConfigValue = if osConfig != null then osConfig else {};
cfg = if osConfigValue ? roles && builtins.hasAttr "gnome-calendar" osConfigValue.roles then osConfigValue.roles."gnome-calendar" else { enable = false; };
in {
# options.roles.gnome-calendar = { enable = lib.mkEnableOption "gnome calendar"; };
config = mkIf cfg.enable {
home.packages = with pkgs; [
gnome-calendar
gnome-control-center
evolution
evolution-data-server
gnome-keyring
];
};
}