Nix-index: module improved
This commit is contained in:
parent
5e2fbc31cb
commit
ea507cd753
1 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
{ pkgs, ... }: {
|
{ config, ... }: {
|
||||||
programs.nix-index = {
|
programs.nix-index = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
# package = pkgs.unstable_pkgs.nix-index;
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
};
|
};
|
||||||
|
|
@ -13,7 +14,7 @@
|
||||||
};
|
};
|
||||||
Service = {
|
Service = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
ExecStart = "${pkgs.nix-index}/bin/nix-index";
|
ExecStart = "${config.programs.nix-index.package}/bin/nix-index";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue