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

This commit is contained in:
smayzy
2025-07-21 14:40:21 +02:00
parent 763cd548f4
commit 85f0b82334
6 changed files with 24 additions and 1 deletions
+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
];
}