mv calibre to modules
nix flake show / show-flake (push) Successful in 27s

This commit is contained in:
smayzy committed 2025-07-21 14:40:21 +02:00
1 parent 763cd548f4
commit 85f0b82334
6 files changed
+24 -1

No files matched your search

+15
View File
@@ -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 ];
};
}
+6
View File
@@ -0,0 +1,6 @@
{ lib, config, pkgs, ... }:
{
imports = [
./calibre.nix
];
}