aboutsummaryrefslogtreecommitdiffstats
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/module.hm.nix4
-rw-r--r--nix/module.nix4
2 files changed, 4 insertions, 4 deletions
diff --git a/nix/module.hm.nix b/nix/module.hm.nix
index 929742f7..eb1be2b6 100644
--- a/nix/module.hm.nix
+++ b/nix/module.hm.nix
@@ -1,4 +1,4 @@
-{turtlePkg}: {
+{
config,
pkgs,
lib,
@@ -18,7 +18,7 @@ in {
options.programs.turtle = {
enable = lib.mkEnableOption "turtle";
- package = (lib.mkPackageOption pkgs "turtle" {}) // {default = turtlePkg;};
+ package = (lib.mkPackageOption pkgs "turtle" {}) // {default = null;};
syncFrequency = lib.mkOption {
type = lib.types.nullOr lib.types.str;
diff --git a/nix/module.nix b/nix/module.nix
index 30ff417b..cdf27fed 100644
--- a/nix/module.nix
+++ b/nix/module.nix
@@ -1,4 +1,4 @@
-{extraPackages}: {
+{
config,
pkgs,
lib,
@@ -11,7 +11,7 @@ in {
services.turtle = {
enable = lib.mkEnableOption "turtle server for shell history sync";
- package = lib.mkPackageOption extraPackages "turtle" {};
+ package = (lib.mkPackageOption pkgs "turtle" {}) // {default = null;};
host = mkOption {
type = types.str;