aboutsummaryrefslogtreecommitdiff
path: root/modules/firmware
diff options
context:
space:
mode:
authorChris Wells <chris@mathematicaster.org>2024-09-05 19:45:28 -0500
committerChris Wells <chris@mathematicaster.org>2024-09-05 19:45:28 -0500
commit373d5246eb53ef1a13166b066248526f33f935db (patch)
tree3d5494bb43d951ebf9bfa1358526102a8ac85406 /modules/firmware
parent1e9e6dbdd6edbfd8ac6249ba0d16e68b336cf093 (diff)
downloadkobo-manager-373d5246eb53ef1a13166b066248526f33f935db.tar
kobo-manager-373d5246eb53ef1a13166b066248526f33f935db.tar.gz
kobo-manager-373d5246eb53ef1a13166b066248526f33f935db.tar.bz2
kobo-manager-373d5246eb53ef1a13166b066248526f33f935db.tar.lz
kobo-manager-373d5246eb53ef1a13166b066248526f33f935db.tar.xz
kobo-manager-373d5246eb53ef1a13166b066248526f33f935db.tar.zst
kobo-manager-373d5246eb53ef1a13166b066248526f33f935db.zip
Trying to get the kobo api working for querying firmware
Diffstat (limited to 'modules/firmware')
-rw-r--r--modules/firmware/default.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/modules/firmware/default.nix b/modules/firmware/default.nix
index 609212a..30a0779 100644
--- a/modules/firmware/default.nix
+++ b/modules/firmware/default.nix
@@ -4,23 +4,21 @@ let
cfg = config.firmware;
in {
options.firmware = {
- hardware = mkOption {
- type = types.str;
- };
date = mkOption {
type = types.str;
};
version = mkOption {
type = types.str;
};
- hash = mkOption {
- type = types.str;
- };
+ # hash = mkOption {
+ # type = types.str;
+ # };
package = mkOption {
type = types.package;
default = pkgs.kobo-firmware {
- inherit (cfg) hardware date version hash;
+ inherit (config.device) hardware;
+ inherit (cfg) date version;
};
};
};