add systemd timers, add beets config, add smb share

This commit is contained in:
2026-07-25 00:09:38 +02:00
parent 8cfe8b7c6f
commit 0a770e4094
8 changed files with 183 additions and 13 deletions
+31
View File
@@ -12,6 +12,7 @@
./modules/nfs.nix
./modules/navidrome.nix
./modules/slskd.nix
./modules/smb.nix
];
nix.settings.experimental-features = [
@@ -58,6 +59,7 @@
fsType = "vfat";
};
boot.zfs.forceImportRoot = false;
services.zfs.autoScrub.enable = true;
swapDevices = [ ];
@@ -87,6 +89,7 @@
shell = pkgs.fish;
};
services.tailscale.enable = true;
services.rsync.enable = true;
programs.nh.enable = true;
programs.neovim.enable = true;
@@ -117,5 +120,33 @@
};
};
systemd.timers."bc-wishlist-scraper" = {
wantedBy = [ "timers.target" ];
timerConfig = {
OnCalendar = "daily";
Unit = "bc-wishlist-scraper.service";
};
};
systemd.services."bc-wishlist-scraper" = {
script = ''
${pkgs.bash}/bin/bash /home/user/bc-wishlist-scraper/run.sh
'';
};
systemd.user.timers."scdl" = {
wantedBy = [ "timers.target" ];
timerConfig = {
OnCalendar = "daily";
Unit = "scdl.service";
};
};
systemd.user.services."scdl" = {
script = ''
cd ~/Music/scdl && ${pkgs.scdl}/bin/scdl me -f -c --download-archive archive.txt
'';
};
system.stateVersion = "26.05";
}