diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index 8c6cd7c4..77ec82b3 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -29,6 +29,7 @@ keepassxc.enable = true; nicotineplus.enable = true; transmission.enable = true; + kcc.enable = true; }; chat = { discord.enable = true; diff --git a/modules/desktop/apps/calibre/default.nix b/modules/desktop/apps/calibre/default.nix new file mode 100644 index 00000000..d9bacd36 --- /dev/null +++ b/modules/desktop/apps/calibre/default.nix @@ -0,0 +1,16 @@ +{ outputs, options, config, lib, pkgs, ...}: +with lib; +let + cfg = config.modules.desktop.apps.calibre; +in +{ + options.modules.desktop.apps.calibre = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ + calibre + ]; + }; +} diff --git a/modules/desktop/apps/default.nix b/modules/desktop/apps/default.nix index b39f4fb5..ec3e4a60 100644 --- a/modules/desktop/apps/default.nix +++ b/modules/desktop/apps/default.nix @@ -5,5 +5,7 @@ ./kdeconnect ./nemo ./transmission + ./kcc + ./calibre ]; } diff --git a/modules/desktop/apps/kcc/default.nix b/modules/desktop/apps/kcc/default.nix new file mode 100644 index 00000000..ce22d56d --- /dev/null +++ b/modules/desktop/apps/kcc/default.nix @@ -0,0 +1,16 @@ +{ outputs, options, config, lib, pkgs, ...}: +with lib; +let + cfg = config.modules.desktop.apps.kindle-comic-converter; +in +{ + options.modules.desktop.apps.kindle-comic-converter = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ + kcc + ]; + }; +}