diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-11-27 01:35:27 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-11-27 01:35:27 +0100 |
| commit | fca5a69277f633e2759904c3046635ef541fc341 (patch) | |
| tree | ece5197accceac7d72b5add34a1e3b5555f0bc2d /nix/module.nix | |
| parent | nix/module.hm.nix: Use correct cfg name (diff) | |
| download | atuin-fca5a69277f633e2759904c3046635ef541fc341.zip | |
Having them just as paths, means that the modules can be de-duplicated
and as such multiple times imported. The downside is that we can no
longer setup a nice default for the package.
Diffstat (limited to 'nix/module.nix')
| -rw-r--r-- | nix/module.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
