Compare commits
No commits in common. "efc290aec61b04d7e27150645714599e6e67ca11" and "9fb7e53fe265a3d8e30a0bcd4d04a99301d5929c" have entirely different histories.
efc290aec6
...
9fb7e53fe2
2 changed files with 1 additions and 27 deletions
|
@ -1,4 +1,4 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/5d71cc16-f1ee-4b87-87b2-00fdf98442bd";
|
||||
fsType = "ext4";
|
||||
|
@ -12,26 +12,4 @@
|
|||
swapDevices = [
|
||||
{device = "/dev/disk/by-uuid/1402e27f-861f-4ecd-8b46-a29461ec3eeb";}
|
||||
];
|
||||
|
||||
# Update Musicbrainz search indexes once a week.
|
||||
systemd.timers."musicbrainz-update-indexes" = {
|
||||
wantedBy = ["timers.target"];
|
||||
timerConfig = {
|
||||
OnCalendar = "weekly";
|
||||
Persistent = true;
|
||||
Unit = "musicbrainz-update-indexes.service";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services."musicbrainz-update-indexes" = {
|
||||
script = ''
|
||||
set -eu
|
||||
cd /home/fern/docker/stacks/musicbrainz
|
||||
${pkgs.docker}/bin/docker compose exec -T indexer python -m sir reindex --entity-type artist --entity-type release
|
||||
'';
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
User = "fern";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -128,10 +128,6 @@ with lib; {
|
|||
key = "<Leader>y";
|
||||
action = "<cmd> Yazi <CR>";
|
||||
}
|
||||
{
|
||||
key = "<Leader>fs";
|
||||
action = "<cmd> SessionSearch <CR>";
|
||||
}
|
||||
];
|
||||
|
||||
colorschemes.gruvbox = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue