diff --git a/nixos/doc/manual/release-notes/rl-2505.section.md b/nixos/doc/manual/release-notes/rl-2505.section.md index 38bf70ad3af3c7..007f4e56fc9469 100644 --- a/nixos/doc/manual/release-notes/rl-2505.section.md +++ b/nixos/doc/manual/release-notes/rl-2505.section.md @@ -24,6 +24,8 @@ - [mqtt-exporter](https://github.com/kpetremann/mqtt-exporter/), a Prometheus exporter for exposing messages from MQTT. Available as [services.prometheus.exporters.mqtt](#opt-services.prometheus.exporters.mqtt.enable). +- [Reminders](https://github.com/remindersdevs/Reminders), an open source reminder tool. Available with [programs.reminders](options.html#opt-programs.reminders.enable). + - [Buffyboard](https://gitlab.postmarketos.org/postmarketOS/buffybox/-/tree/master/buffyboard), a framebuffer on-screen keyboard. Available as [services.buffyboard](option.html#opt-services.buffyboard). diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index 1508806e586040..9f97d5c95144cb 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -276,6 +276,7 @@ ./programs/qt5ct.nix ./programs/quark-goldleaf.nix ./programs/regreet.nix + ./programs/reminders.nix ./programs/rog-control-center.nix ./programs/rust-motd.nix ./programs/ryzen-monitor-ng.nix diff --git a/nixos/modules/programs/reminders.nix b/nixos/modules/programs/reminders.nix new file mode 100644 index 00000000000000..b15e6220b07426 --- /dev/null +++ b/nixos/modules/programs/reminders.nix @@ -0,0 +1,22 @@ +{ + config, + lib, + pkgs, + ... +}: +let + cfg = config.programs.reminders; +in +{ + options.programs.reminders = { + enable = lib.mkEnableOption "Reminders, an open source reminder app"; + package = lib.mkPackageOption pkgs "reminders" { }; + }; + + config = lib.mkIf cfg.enable { + environment.systemPackages = [ cfg.package ]; + services.dbus.packages = [ cfg.package ]; + }; + + meta.maintainers = with lib.maintainers; [ pluiedev ]; +}