add mangal

This commit is contained in:
Sakooooo 2023-08-02 21:41:26 +03:00
parent fb55a7e69f
commit 483680dd5e
Signed by: sako
GPG key ID: 3FD715D87D7725E0
3 changed files with 19 additions and 0 deletions

View file

@ -31,6 +31,8 @@
nicotineplus.enable = true; nicotineplus.enable = true;
transmission.enable = true; transmission.enable = true;
calibre.enable = true; calibre.enable = true;
kindle-comic-converter.enable = true;
mangal.enable = true;
}; };
chat = { chat = {
discord.enable = true; discord.enable = true;

View file

@ -7,5 +7,6 @@
./transmission ./transmission
./kcc ./kcc
./calibre ./calibre
./mangal
]; ];
} }

View file

@ -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
];
};
}