[WIP] Several things
- Doom emacs `tree-sitter` - CI for `beebox` - PGtk Emacs
This commit is contained in:
parent
b70881fad3
commit
a9d14ae3d2
10 changed files with 75 additions and 33 deletions
32
hmModules/nix-index/default.nix
Normal file
32
hmModules/nix-index/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.nix-index = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
|
||||
systemd.user.services.nix-index-update = {
|
||||
Unit = {Description = "Update nix-index";};
|
||||
|
||||
Service = {
|
||||
CPUSchedulingPolicy = "idle";
|
||||
IOSchedulingClass = "idle";
|
||||
ExecStart = "${pkgs.nix-index}/bin/nix-index --path ${config.programs.password-store.settings.PASSWORD_STORE_DIR}";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.timers.nix-index-update = {
|
||||
Unit = {Description = "Update nix-index";};
|
||||
|
||||
Timer = {
|
||||
Unit = "nix-index-update.service";
|
||||
OnCalendar = "OnCalendar=monday *-*-* 10:00:00";
|
||||
Persistent = true;
|
||||
};
|
||||
|
||||
Install = {WantedBy = ["timers.target"];};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue