add systemd timers, add beets config, add smb share
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user