add cron, remove desktop from server

This commit is contained in:
iFargle 2023-12-06 11:56:24 +09:00
parent 9eb2fb98f0
commit 0d605cfa05
3 changed files with 9 additions and 1 deletions

View file

@ -40,7 +40,7 @@
osaka-linode-01 = libx.mkHost { hostname = "osaka-linode-01"; type = "small";};
nixos-vm-01 = libx.mkHost { hostname = "nixos-vm-01"; };
# Physical
framework-server = libx.mkHost { hostname = "framework-server"; desktop = "xfce"; gpu = "intel"; };
framework-server = libx.mkHost { hostname = "framework-server"; };
nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; desktop = "gnome"; gpu = "nvidia"; };
nixos-framework = libx.mkHost { hostname = "nixos-framework"; desktop = "hyprland"; gpu = "amd"; theme = "green"; };
nixos-rpi4-01 = libx.mkHost { hostname = "nixos-rpi4-01"; platform = "aarch64-linux"; };

View file

@ -0,0 +1,7 @@
{ ... }: {
services.cron.systemCronJobs = [
"0 0 * * * rsync --delete -avr /Storage/Data/Docker/root@nuc-docker01:/Storage/Data/Docker/"
"0 3 * * * rsync -avr /Storage/Data/Docker/nextcloud/html/data/albert/files/InstantUpload/ root@nuc-docker01:/Storage/Video/Pictures/InstantUpload/"
"0 5 * * * rsync -avr /Storage/Data/Docker/nextcloud/html/data/albert/files/Wallpapers/ root@nuc-docker01:/Storage/Video/Pictures/Wallpapers"
];
}

View file

@ -10,6 +10,7 @@
./ssh-luks.nix
./docker.nix
./wireguard.nix
./cron.nix
] ++ lib.optional (builtins.isString desktop) ./rdesktop.nix;
# steam , etc