regular backup

This commit is contained in:
arielherself 2024-12-04 22:43:06 +08:00
parent 61a74150f0
commit c7eec5c7a9
Signed by: arielherself
SSH Key Fingerprint: SHA256:AK3cyo9tFsp7Mox7K0sYphleC8hReXhnRKxwuDT5LBc
3 changed files with 29 additions and 16 deletions

View File

@ -435,21 +435,23 @@ in {
enable = true; enable = true;
}; };
systemd.user.services.qbittorrent-nox = { systemd.user.services = {
Unit = { qbittorrent-nox = {
Description = "qBittorrent-nox service."; Unit = {
# Wants = [ "network-online.target" ]; Description = "qBittorrent-nox service.";
# After = [ "local-fs.target" "network-online.target" "nss-lookup.target" "multi-user.target" ]; # Wants = [ "network-online.target" ];
}; # After = [ "local-fs.target" "network-online.target" "nss-lookup.target" "multi-user.target" ];
Install = { };
WantedBy = [ "default.target" ]; Install = {
}; WantedBy = [ "default.target" ];
Service = { };
Type = "simple"; Service = {
PrivateTmp = "false"; Type = "simple";
ExecStart = "${pkgs.qbittorrent-nox}/bin/qbittorrent-nox"; PrivateTmp = "false";
TimeoutStopSec = 1800; ExecStart = "${pkgs.qbittorrent-nox}/bin/qbittorrent-nox";
Restart = "always"; TimeoutStopSec = 1800;
Restart = "always";
};
}; };
}; };
} }

View File

@ -0,0 +1,11 @@
with import <nixpkgs> {};
(pkgs.buildFHSEnv {
name = "azule-runtime";
targetPkgs = pkgs: with pkgs; [
libplist
xmlstarlet
libxml2
jq
];
runScript = "bash";
}).env

View File

@ -43,7 +43,7 @@ vim.diagnostic.config({
focusable = false, focusable = false,
}, },
}) })
-- vim.cmd([[au CursorHold * lua vim.diagnostic.open_float(0,{scope = "cursor"})]]) vim.cmd([[au CursorHold * lua vim.diagnostic.open_float(0,{scope = "cursor"})]])
vim.g.mapleader = " "; vim.g.mapleader = " ";
vim.filetype.add({ vim.filetype.add({
extension = { extension = {