NixOS-Configs/home/gui/gnome-calendar.nix
2026-05-16 22:36:47 -05:00

17 lines
589 B
Nix

{ 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
];
};
}