Fix nix-index
This commit is contained in:
parent
19f999514e
commit
92bf72e40b
1 changed files with 5 additions and 1 deletions
|
@ -1,15 +1,19 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
fleetFlake,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
programs.nix-index.enable = true;
|
||||||
|
|
||||||
systemd.user.services.nix-index-update = {
|
systemd.user.services.nix-index-update = {
|
||||||
Unit = {Description = "Update nix-index";};
|
Unit = {Description = "Update nix-index";};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
CPUSchedulingPolicy = "idle";
|
CPUSchedulingPolicy = "idle";
|
||||||
IOSchedulingClass = "idle";
|
IOSchedulingClass = "idle";
|
||||||
ExecStart = "${pkgs.nix-index}/bin/nix-index --path ${config.programs.password-store.settings.PASSWORD_STORE_DIR}";
|
ExecStart = "${pkgs.nix-index}/bin/nix-index --nixpkgs ${fleetFlake.inputs.nixpkgsUnstable}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue