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;
};
systemd.user.services.qbittorrent-nox = {
Unit = {
Description = "qBittorrent-nox service.";
# Wants = [ "network-online.target" ];
# After = [ "local-fs.target" "network-online.target" "nss-lookup.target" "multi-user.target" ];
};
Install = {
WantedBy = [ "default.target" ];
};
Service = {
Type = "simple";
PrivateTmp = "false";
ExecStart = "${pkgs.qbittorrent-nox}/bin/qbittorrent-nox";
TimeoutStopSec = 1800;
Restart = "always";
systemd.user.services = {
qbittorrent-nox = {
Unit = {
Description = "qBittorrent-nox service.";
# Wants = [ "network-online.target" ];
# After = [ "local-fs.target" "network-online.target" "nss-lookup.target" "multi-user.target" ];
};
Install = {
WantedBy = [ "default.target" ];
};
Service = {
Type = "simple";
PrivateTmp = "false";
ExecStart = "${pkgs.qbittorrent-nox}/bin/qbittorrent-nox";
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,
},
})
-- 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.filetype.add({
extension = {