Skip to content

Commit

Permalink
nixos/reminders: init module
Browse files Browse the repository at this point in the history
  • Loading branch information
pluiedev committed Dec 9, 2024
1 parent 2f76d6c commit 5b72c59
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nixos/doc/manual/release-notes/rl-2505.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
Expand Down
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 22 additions & 0 deletions nixos/modules/programs/reminders.nix
Original file line number Diff line number Diff line change
@@ -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 ];
}

0 comments on commit 5b72c59

Please sign in to comment.