From 851343958d2868edf0b83797da41d7c303f11848 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Thu, 31 Aug 2023 08:35:58 +0400 Subject: [PATCH] add fluentreader --- modules/desktop/apps/default.nix | 1 + modules/desktop/apps/fluentreader/default.nix | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 modules/desktop/apps/fluentreader/default.nix diff --git a/modules/desktop/apps/default.nix b/modules/desktop/apps/default.nix index 2d4a7104..f7bac033 100644 --- a/modules/desktop/apps/default.nix +++ b/modules/desktop/apps/default.nix @@ -11,5 +11,6 @@ ./mangal ./obs ./nextcloud + ./fluentreader ]; } diff --git a/modules/desktop/apps/fluentreader/default.nix b/modules/desktop/apps/fluentreader/default.nix new file mode 100644 index 00000000..4d99560d --- /dev/null +++ b/modules/desktop/apps/fluentreader/default.nix @@ -0,0 +1,16 @@ +{ outputs, options, config, lib, pkgs, ...}: +with lib; +let + cfg = config.modules.desktop.apps.fluentreader; +in +{ + options.modules.desktop.apps.fluentreader = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ + fluent-reader + ]; + }; +}