idk some stuff, mostly 25.11 and opencode stuff
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
systemd.services.get-tv-sync = {
|
||||
serviceConfig.Type = "oneshot";
|
||||
path = [
|
||||
pkgs.coreutils
|
||||
pkgs.openssh
|
||||
pkgs.gawk
|
||||
pkgs.rsync
|
||||
pkgs.curl
|
||||
];
|
||||
script = builtins.readFile ./get-tv.sh;
|
||||
serviceConfig = {
|
||||
User = "anish";
|
||||
};
|
||||
};
|
||||
systemd.timers.get-tv-sync = {
|
||||
wantedBy = [ "timers.target" ];
|
||||
partOf = [ "get-tv-sync.service" ];
|
||||
timerConfig.OnCalendar = [ "hourly" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user