Better folder structure

This commit is contained in:
Filippo Berto 2022-08-12 09:09:29 +02:00
parent 8778fa8ccb
commit c4e5ccf6bf
75 changed files with 174 additions and 172 deletions

View file

@ -1,27 +0,0 @@
{ pkgs, ... }:
{
programs.nix-index = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
};
systemd.user = {
services."nix-index" = {
Unit = {
Description = "Update the nix-locate database";
After = [ "network.target" ];
};
Service = {
Type = "oneshot";
ExecStart = "${pkgs.nix-index}/bin/nix-index";
};
};
timers."nix-index" = {
Unit.Description = "Daily update the nix-locate database";
Timer = { OnCalendar = "daily"; Persistent = true; Unit = "nix-index.service"; };
Install.WantedBy = [ "timers.target" ];
};
};
}