removed test open-mateo scripts
This commit is contained in:
parent
0896bea02e
commit
32382fb013
1286
configuration.nix
1286
configuration.nix
File diff suppressed because it is too large
Load Diff
@ -50,10 +50,6 @@ let
|
|||||||
};
|
};
|
||||||
nextcloud_scrapsync = pkgs.writeScriptBin
|
nextcloud_scrapsync = pkgs.writeScriptBin
|
||||||
"nextcloud_scrapsync" (builtins.readFile ./scripts/nextcloud_scrapsync.sh);
|
"nextcloud_scrapsync" (builtins.readFile ./scripts/nextcloud_scrapsync.sh);
|
||||||
mateo-current = pkgs.writeScriptBin
|
|
||||||
"mateo-current" (builtins.readFile ./scripts/current.sh);
|
|
||||||
mateo-forecast = pkgs.writeScriptBin
|
|
||||||
"mateo-forecast" (builtins.readFile ./scripts/forecast.sh);
|
|
||||||
manage_library = pkgs.writeScriptBin
|
manage_library = pkgs.writeScriptBin
|
||||||
"manage_library" (builtins.readFile ./scripts/manage_library.fish);
|
"manage_library" (builtins.readFile ./scripts/manage_library.fish);
|
||||||
ffmpeg4discord = pkgs.writeScriptBin
|
ffmpeg4discord = pkgs.writeScriptBin
|
||||||
@ -374,9 +370,6 @@ lm_sensors # for extension, displays cpu temp
|
|||||||
nextcloud_scrapsync
|
nextcloud_scrapsync
|
||||||
ffmpeg4discord
|
ffmpeg4discord
|
||||||
manage_library
|
manage_library
|
||||||
mateo-current
|
|
||||||
mateo-forecast
|
|
||||||
jq
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** DEVELOPMENT PACKAGES
|
** DEVELOPMENT PACKAGES
|
||||||
@ -927,40 +920,6 @@ systemd.services = {
|
|||||||
ExecStop = "${pkgs.docker-compose}/bin/docker-compose -f \${FILE} down";
|
ExecStop = "${pkgs.docker-compose}/bin/docker-compose -f \${FILE} down";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"mateo-current" = {
|
|
||||||
enable = true;
|
|
||||||
restartIfChanged = true;
|
|
||||||
description = "current weather";
|
|
||||||
wantedBy = [ "default.target" ];
|
|
||||||
path = [
|
|
||||||
pkgs.bash
|
|
||||||
pkgs.jq
|
|
||||||
pkgs.curl
|
|
||||||
mateo-current
|
|
||||||
];
|
|
||||||
serviceConfig = {
|
|
||||||
Restart = "on-failure";
|
|
||||||
WorkingDirectory="/home/jawz/Development/Scripts/open-mateo";
|
|
||||||
ExecStart = "${mateo-current}/bin/mateo-current";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"mateo-forecast" = {
|
|
||||||
enable = true;
|
|
||||||
restartIfChanged = true;
|
|
||||||
description = "forecast weather";
|
|
||||||
wantedBy = [ "default.target" ];
|
|
||||||
path = [
|
|
||||||
pkgs.bash
|
|
||||||
pkgs.jq
|
|
||||||
pkgs.curl
|
|
||||||
mateo-forecast
|
|
||||||
];
|
|
||||||
serviceConfig = {
|
|
||||||
Restart = "on-failure";
|
|
||||||
WorkingDirectory="/home/jawz/Development/Scripts/open-mateo";
|
|
||||||
ExecStart = "${mateo-forecast}/bin/mateo-forecast";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"nextcloud_scrapsync" = {
|
"nextcloud_scrapsync" = {
|
||||||
description = "Sync scrapped files with nextcloud";
|
description = "Sync scrapped files with nextcloud";
|
||||||
wantedBy = [ "default.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
@ -990,30 +949,6 @@ systemd.timers = {
|
|||||||
Persistent = true;
|
Persistent = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"mateo-current" = {
|
|
||||||
enable = true;
|
|
||||||
description = "Sync scrapped files with nextcloud";
|
|
||||||
wantedBy = [ "timers.target" ];
|
|
||||||
timerConfig = {
|
|
||||||
OnBootSec = "1m";
|
|
||||||
OnUnitActiveSec = "1h";
|
|
||||||
RandomizedDelaySec = 30;
|
|
||||||
Persistent = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"mateo-forecast" = {
|
|
||||||
enable = true;
|
|
||||||
description = "Sync scrapped files with nextcloud";
|
|
||||||
wantedBy = [ "timers.target" ];
|
|
||||||
timerConfig = {
|
|
||||||
OnCalendar= [
|
|
||||||
"*-*-* 06:05:00"
|
|
||||||
"*-*-* 18:05:00"
|
|
||||||
];
|
|
||||||
RandomizedDelaySec = 30;
|
|
||||||
Persistent = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
systemd.user.services = {
|
systemd.user.services = {
|
||||||
"HentaiAtHome" = {
|
"HentaiAtHome" = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user