Move HM modules

This commit is contained in:
Filippo Berto 2023-07-19 10:42:09 +01:00
parent 5db76d0fed
commit 3cf0004b78
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
110 changed files with 403 additions and 564 deletions

31
modules/hm/nix-index.nix Normal file
View file

@ -0,0 +1,31 @@
{
programs.nix-index = {
enable = true;
# package = pkgs.unstable_pkgs.nix-index;
enableBashIntegration = true;
enableZshIntegration = true;
};
# systemd.user = {
# services."nix-index" = {
# Unit = {
# Description = "Update the nix-locate database";
# After = [ "network.target" ];
# };
# Service = {
# Type = "oneshot";
# ExecStart = "${config.programs.nix-index.package}/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" ];
# };
# };
}