removed test open-mateo scripts
This commit is contained in:
@@ -3,22 +3,24 @@ let
|
|||||||
VERSION = "22.11";
|
VERSION = "22.11";
|
||||||
# HOME-MANAGER = builtins.fetchTarball
|
# HOME-MANAGER = builtins.fetchTarball
|
||||||
# "https://github.com/nix-community/home-manager/archive/master.tar.gz";
|
# "https://github.com/nix-community/home-manager/archive/master.tar.gz";
|
||||||
UNSTABLE_TARBALL =
|
UNSTABLE_TARBALL = builtins.fetchTarball
|
||||||
builtins.fetchTarball "https://github.com/nixos/nixpkgs/tarball/master";
|
https://github.com/nixos/nixpkgs/tarball/master;
|
||||||
unstable = import UNSTABLE_TARBALL { config = config.nixpkgs.config; };
|
unstable = import UNSTABLE_TARBALL {
|
||||||
nextcloud_scrapsync = pkgs.writeScriptBin "nextcloud_scrapsync"
|
config = config.nixpkgs.config;
|
||||||
(builtins.readFile ./scripts/nextcloud_scrapsync.sh);
|
};
|
||||||
mateo-current = pkgs.writeScriptBin "mateo-current"
|
nextcloud_scrapsync = pkgs.writeScriptBin
|
||||||
(builtins.readFile ./scripts/current.sh);
|
"nextcloud_scrapsync" (builtins.readFile ./scripts/nextcloud_scrapsync.sh);
|
||||||
mateo-forecast = pkgs.writeScriptBin "mateo-forecast"
|
manage_library = pkgs.writeScriptBin
|
||||||
(builtins.readFile ./scripts/forecast.sh);
|
"manage_library" (builtins.readFile ./scripts/manage_library.fish);
|
||||||
manage_library = pkgs.writeScriptBin "manage_library"
|
ffmpeg4discord = pkgs.writeScriptBin
|
||||||
(builtins.readFile ./scripts/manage_library.fish);
|
"ffmpeg4discord" (builtins.readFile ./scripts/ffmpeg4discord.py);
|
||||||
ffmpeg4discord = pkgs.writeScriptBin "ffmpeg4discord"
|
in
|
||||||
(builtins.readFile ./scripts/ffmpeg4discord.py);
|
{ # Remember to close this bracket at the end of the document
|
||||||
in { # Remember to close this bracket at the end of the document
|
|
||||||
|
|
||||||
imports = [ ./hardware-configuration.nix <home-manager/nixos> ];
|
imports = [
|
||||||
|
./hardware-configuration.nix
|
||||||
|
<home-manager/nixos>
|
||||||
|
];
|
||||||
|
|
||||||
networking.hostName = "workstation";
|
networking.hostName = "workstation";
|
||||||
|
|
||||||
@@ -29,7 +31,9 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
|
|
||||||
i18n = {
|
i18n = {
|
||||||
defaultLocale = "en_CA.UTF-8";
|
defaultLocale = "en_CA.UTF-8";
|
||||||
extraLocaleSettings = { LC_MONETARY = "es_MX.UTF-8"; };
|
extraLocaleSettings = {
|
||||||
|
LC_MONETARY = "es_MX.UTF-8";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
console = {
|
console = {
|
||||||
font = "Lat2-Terminus16";
|
font = "Lat2-Terminus16";
|
||||||
@@ -58,7 +62,8 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
gnome-connections
|
gnome-connections
|
||||||
# gnome-shell-extensions
|
# gnome-shell-extensions
|
||||||
baobab
|
baobab
|
||||||
]) ++ (with pkgs.gnome; [
|
])
|
||||||
|
++ (with pkgs.gnome; [
|
||||||
# totem
|
# totem
|
||||||
gedit
|
gedit
|
||||||
gnome-music
|
gnome-music
|
||||||
@@ -93,7 +98,9 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
# noPass = true;
|
# noPass = true;
|
||||||
# }];
|
# }];
|
||||||
|
|
||||||
nixpkgs.config = { allowUnfree = true; };
|
nixpkgs.config = {
|
||||||
|
allowUnfree = true;
|
||||||
|
};
|
||||||
|
|
||||||
users.users.jawz = {
|
users.users.jawz = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
@@ -101,9 +108,7 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
initialPassword = "password";
|
initialPassword = "password";
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
openssh = {
|
openssh = {
|
||||||
authorizedKeys.keys = [
|
authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB5GaQM4N+yGAByibOFQOBVMV/6TjOfaGIP+NunMiK76 gpodeacero\cdreyes@100CDREYES" ];
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB5GaQM4N+yGAByibOFQOBVMV/6TjOfaGIP+NunMiK76 gpodeacerocdreyes@100CDREYES"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
packages = (with pkgs; [
|
packages = (with pkgs; [
|
||||||
|
|
||||||
@@ -186,13 +191,11 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
torrenttools # create torrent files from the terminal!
|
torrenttools # create torrent files from the terminal!
|
||||||
lm_sensors # for extension, displays cpu temp
|
lm_sensors # for extension, displays cpu temp
|
||||||
|
|
||||||
|
|
||||||
# My own scripts
|
# My own scripts
|
||||||
nextcloud_scrapsync
|
nextcloud_scrapsync
|
||||||
ffmpeg4discord
|
ffmpeg4discord
|
||||||
manage_library
|
manage_library
|
||||||
mateo-current
|
|
||||||
mateo-forecast
|
|
||||||
jq
|
|
||||||
|
|
||||||
# required by doom emacs, but still are rather useful.
|
# required by doom emacs, but still are rather useful.
|
||||||
fd # modern find, faster searches
|
fd # modern find, faster searches
|
||||||
@@ -249,17 +252,12 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
|
|
||||||
# Fonts
|
# Fonts
|
||||||
(nerdfonts.override {
|
(nerdfonts.override {
|
||||||
fonts = [
|
fonts = [ "Agave" "CascadiaCode" "SourceCodePro" "Ubuntu" "FiraCode" "Iosevka" ];
|
||||||
"Agave"
|
|
||||||
"CascadiaCode"
|
|
||||||
"SourceCodePro"
|
|
||||||
"Ubuntu"
|
|
||||||
"FiraCode"
|
|
||||||
"Iosevka"
|
|
||||||
];
|
|
||||||
})
|
})
|
||||||
symbola
|
symbola
|
||||||
(papirus-icon-theme.override { color = "adwaita"; })
|
(papirus-icon-theme.override {
|
||||||
|
color = "adwaita";
|
||||||
|
})
|
||||||
|
|
||||||
]) ++ (with pkgs.python310Packages; [
|
]) ++ (with pkgs.python310Packages; [
|
||||||
black # Python code formatter
|
black # Python code formatter
|
||||||
@@ -303,8 +301,7 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
markdownlint-cli
|
markdownlint-cli
|
||||||
prettier
|
prettier
|
||||||
pnpm
|
pnpm
|
||||||
]);
|
]); }; # <--- end of package list
|
||||||
}; # <--- end of package list
|
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
@@ -321,15 +318,12 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
enable = true;
|
enable = true;
|
||||||
# useBabelfish = true; This setting doens't work from inside home-manager
|
# useBabelfish = true; This setting doens't work from inside home-manager
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ls =
|
ls = "exa --icons --group-directories-first --no-permissions --no-user --no-time";
|
||||||
"exa --icons --group-directories-first --no-permissions --no-user --no-time";
|
|
||||||
edit = "emacsclient -t";
|
edit = "emacsclient -t";
|
||||||
comic = "download -u jawz -i (cat $lc | fzf --multi --exact -i)";
|
comic = "download -u jawz -i (cat $lc | fzf --multi --exact -i)";
|
||||||
gallery = "download -u jawz -i (cat $lw | fzf --multi --exact -i)";
|
gallery = "download -u jawz -i (cat $lw | fzf --multi --exact -i)";
|
||||||
open_gallery =
|
open_gallery = "open (find /mnt/disk2/scrapping/JawZ/gallery-dl -type d | fzf)";
|
||||||
"open (find /mnt/disk2/scrapping/JawZ/gallery-dl -type d | fzf)";
|
unique_extensions = "find . -type f | string match -r '([^.\/]+)\$' | sort -u";
|
||||||
unique_extensions =
|
|
||||||
"find . -type f | string match -r '([^./]+)$' | sort -u";
|
|
||||||
cp = "cp -i";
|
cp = "cp -i";
|
||||||
mv = "mv -i";
|
mv = "mv -i";
|
||||||
mkdir = "mkdir -p";
|
mkdir = "mkdir -p";
|
||||||
@@ -352,7 +346,7 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
|
|
||||||
function fish_greeting
|
function fish_greeting
|
||||||
pokemon-colorscripts -r --no-title
|
~/.local/bin/pokemon-colorscripts -r --no-title
|
||||||
end
|
end
|
||||||
# Lists
|
# Lists
|
||||||
set -l list_root ${config.home.homeDirectory}/.config/jawz/lists/jawz
|
set -l list_root ${config.home.homeDirectory}/.config/jawz/lists/jawz
|
||||||
@@ -396,8 +390,7 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
config = {
|
config = {
|
||||||
# map-syntax = [ "*.jenkinsfile:Groovy" "*.props:Java Properties" ];
|
# map-syntax = [ "*.jenkinsfile:Groovy" "*.props:Java Properties" ];
|
||||||
pager = "less -FR";
|
pager = "less -FR";
|
||||||
theme = "base16";
|
theme = "base16"; };
|
||||||
};
|
|
||||||
};
|
};
|
||||||
git = {
|
git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -430,8 +423,7 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
};
|
};
|
||||||
configFile = {
|
configFile = {
|
||||||
"wgetrc".source = ./dotfiles/wget/wgetrc;
|
"wgetrc".source = ./dotfiles/wget/wgetrc;
|
||||||
"configstore/update-notifier-npm-check.json".source =
|
"configstore/update-notifier-npm-check.json".source = ./dotfiles/npm/update-notifier-npm-check.json;
|
||||||
./dotfiles/npm/update-notifier-npm-check.json;
|
|
||||||
"npm/npmrc".source = ./dotfiles/npm/npmrc;
|
"npm/npmrc".source = ./dotfiles/npm/npmrc;
|
||||||
"gallery-dl/config.json".source = ./dotfiles/gallery-dl/config.json;
|
"gallery-dl/config.json".source = ./dotfiles/gallery-dl/config.json;
|
||||||
"htop/htoprc".source = ./dotfiles/htop/htoprc;
|
"htop/htoprc".source = ./dotfiles/htop/htoprc;
|
||||||
@@ -517,7 +509,9 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
olderThan = 10;
|
olderThan = 10;
|
||||||
interval = "4:00";
|
interval = "4:00";
|
||||||
};
|
};
|
||||||
parityFiles = [ "/mnt/parity/snapraid.parity" ];
|
parityFiles = [
|
||||||
|
"/mnt/parity/snapraid.parity"
|
||||||
|
];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
autosave 50
|
autosave 50
|
||||||
'';
|
'';
|
||||||
@@ -549,7 +543,9 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
enable = true;
|
enable = true;
|
||||||
enableSSHSupport = true;
|
enableSSHSupport = true;
|
||||||
};
|
};
|
||||||
geary = { enable = true; };
|
geary = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
steam = {
|
steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
remotePlay.openFirewall = true;
|
remotePlay.openFirewall = true;
|
||||||
@@ -573,19 +569,25 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
# };
|
# };
|
||||||
btrfs.autoScrub = {
|
btrfs.autoScrub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
fileSystems = [ "/" "/mnt/disk1" "/mnt/disk2" ];
|
fileSystems = [
|
||||||
|
"/"
|
||||||
|
"/mnt/disk1"
|
||||||
|
"/mnt/disk2"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
mediatomb.enable = true;
|
# mediatomb.enable = true;
|
||||||
openssh = {
|
openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
ports = [ 25152 ];
|
ports = [ 25152 ];
|
||||||
passwordAuthentication = false;
|
passwordAuthentication = false;
|
||||||
kbdInteractiveAuthentication = false;
|
kbdInteractiveAuthentication = false;
|
||||||
startWhenNeeded = true;
|
startWhenNeeded = true;
|
||||||
listenAddresses = [{
|
listenAddresses = [
|
||||||
|
{
|
||||||
addr = "0.0.0.0";
|
addr = "0.0.0.0";
|
||||||
port = 25152;
|
port = 25152;
|
||||||
}];
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
# udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
|
# udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
|
||||||
emacs = {
|
emacs = {
|
||||||
@@ -606,43 +608,23 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
environment = {
|
environment = {
|
||||||
FILE = "/home/jawz/Development/Docker/docker-compose.yml";
|
FILE = "/home/jawz/Development/Docker/docker-compose.yml";
|
||||||
};
|
};
|
||||||
path = [ pkgs.docker-compose ];
|
path = [
|
||||||
|
pkgs.docker-compose
|
||||||
|
];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = 30;
|
RestartSec = 30;
|
||||||
ExecStart =
|
ExecStart = "${pkgs.docker-compose}/bin/docker-compose -f \${FILE} up --remove-orphans";
|
||||||
"${pkgs.docker-compose}/bin/docker-compose -f \${FILE} up --remove-orphans";
|
|
||||||
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" ];
|
||||||
path = [ pkgs.bash nextcloud_scrapsync ];
|
path = [
|
||||||
|
pkgs.bash
|
||||||
|
nextcloud_scrapsync
|
||||||
|
];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
RestartSec = 30;
|
RestartSec = 30;
|
||||||
ExecStart = "${nextcloud_scrapsync}/bin/nextcloud_scrapsync";
|
ExecStart = "${nextcloud_scrapsync}/bin/nextcloud_scrapsync";
|
||||||
@@ -665,27 +647,6 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
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" = {
|
||||||
@@ -693,7 +654,9 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
restartIfChanged = true;
|
restartIfChanged = true;
|
||||||
description = "Run hentai@home server";
|
description = "Run hentai@home server";
|
||||||
wantedBy = [ "default.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
path = [ pkgs.HentaiAtHome ];
|
path = [
|
||||||
|
pkgs.HentaiAtHome
|
||||||
|
];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = 30;
|
RestartSec = 30;
|
||||||
@@ -706,7 +669,10 @@ in { # Remember to close this bracket at the end of the document
|
|||||||
restartIfChanged = true;
|
restartIfChanged = true;
|
||||||
description = "Run the manage library fish script";
|
description = "Run the manage library fish script";
|
||||||
wantedBy = [ "default.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
path = [ pkgs.fish manage_library ];
|
path = [
|
||||||
|
pkgs.fish
|
||||||
|
manage_library
|
||||||
|
];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = 30;
|
RestartSec = 30;
|
||||||
|
|||||||
@@ -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" = {
|
||||||
|
|||||||
Reference in New Issue
Block a user