From 4f471484b3a1e16230979a8406503a220b9101f4 Mon Sep 17 00:00:00 2001 From: Chris Wells Date: Tue, 10 Sep 2024 14:51:28 -0500 Subject: I think this is almost working! --- modules/root.nix | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 modules/root.nix (limited to 'modules/root.nix') diff --git a/modules/root.nix b/modules/root.nix deleted file mode 100644 index d74fe66..0000000 --- a/modules/root.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ config, pkgs, lib, ... }: -with builtins // lib; -let - importOption = p: (import p { inherit pkgs lib; } "").option; -in { - options = { - file = importOption ./lib/file.nix; - manifest = importOption ./lib/manifest.nix; - - src = mkOption { - type = types.package; - description = "The base source files to use"; - default = with pkgs.kobo.src; - if config.plato.enable && config.koreader.enable then KOReader-Plato - else if config.plato.enable then Plato - else if config.koreader.enable then KOReader - else if config.kfmon.enable then KFMon - else pkgs.runCommandLocal "empty-kobo" {} "mkdir -p $out"; - }; - }; -} -- cgit v1.2.3