diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index 5b64e118..385e0682 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -31,6 +31,8 @@ nicotineplus.enable = true; transmission.enable = true; calibre.enable = true; + kindle-comic-converter.enable = true; + mangal.enable = true; }; chat = { discord.enable = true; diff --git a/modules/desktop/apps/default.nix b/modules/desktop/apps/default.nix index ec3e4a60..f53d3a41 100644 --- a/modules/desktop/apps/default.nix +++ b/modules/desktop/apps/default.nix @@ -7,5 +7,6 @@ ./transmission ./kcc ./calibre + ./mangal ]; } diff --git a/modules/desktop/apps/mangal/default.nix b/modules/desktop/apps/mangal/default.nix new file mode 100644 index 00000000..fb8d70bd --- /dev/null +++ b/modules/desktop/apps/mangal/default.nix @@ -0,0 +1,16 @@ +{ outputs, options, config, lib, pkgs, ...}: +with lib; +let + cfg = config.modules.desktop.apps.mangal; +in +{ + options.modules.desktop.apps.mangal = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ + mangal + ]; + }; +}