feat: add calibre and game virtualization

This commit is contained in:
Jay Looney 2025-10-08 11:14:36 -05:00
parent 82f1d9d5c9
commit d7202a1af1
3 changed files with 84 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ config, lib, pkgs, ... }:
{
imports = [];
options = {
zw-calibre = {
enable = lib.mkEnableOption "Enable Calibre";
};
};
config = {
config.allowUnfreePredigate = pkg: builtins.elem (lib.getName pkg) [
"calibre"
"unrar"
];
environment.systemPackages = with pkgs; [
(calibre.override {
unrarSupport = true;
})
unrar
];
services.udisks2.enable = true;
};
# NOTE: Consider adding https://github.com/nydragon/calibre-plugins
}