diff --git a/linux/nix/module.nix b/linux/nix/module.nix index f901007..ac1b503 100644 --- a/linux/nix/module.nix +++ b/linux/nix/module.nix @@ -10,10 +10,8 @@ let inherit (lib) mkIf mkMerge - mkOption mkEnableOption mkPackageOption - types ; cfg = config.programs.nexus; @@ -23,15 +21,7 @@ in enable = mkEnableOption "Nexus, a simple and user-friendly Matrix client"; package = mkPackageOption self.packages.${pkgs.stdenv.hostPlatform.system} "nexus" { }; - enableNotifications = mkOption { - description = '' - Whether to enable push notifications support via UnifiedPush, installing - {manpage}`kunifiedpush` and registering its systemd and D-Bus units. - ''; - type = types.bool; - default = false; - example = true; - }; + enableNotifications = mkEnableOption "notifications support via UnifiedPush"; }; config = mkIf cfg.enable (mkMerge [