This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.calibre.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "enable calibre";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.calibre.enable {
|
||||
environment.systemPackages = with pkgs; [ calibre ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./calibre.nix
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user