add cron, remove desktop from server
This commit is contained in:
parent
9eb2fb98f0
commit
0d605cfa05
3 changed files with 9 additions and 1 deletions
|
@ -40,7 +40,7 @@
|
||||||
osaka-linode-01 = libx.mkHost { hostname = "osaka-linode-01"; type = "small";};
|
osaka-linode-01 = libx.mkHost { hostname = "osaka-linode-01"; type = "small";};
|
||||||
nixos-vm-01 = libx.mkHost { hostname = "nixos-vm-01"; };
|
nixos-vm-01 = libx.mkHost { hostname = "nixos-vm-01"; };
|
||||||
# Physical
|
# 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-desktop = libx.mkHost { hostname = "nixos-desktop"; desktop = "gnome"; gpu = "nvidia"; };
|
||||||
nixos-framework = libx.mkHost { hostname = "nixos-framework"; desktop = "hyprland"; gpu = "amd"; theme = "green"; };
|
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"; };
|
nixos-rpi4-01 = libx.mkHost { hostname = "nixos-rpi4-01"; platform = "aarch64-linux"; };
|
||||||
|
|
7
nixos/hosts/framework-server/cron.nix
Normal file
7
nixos/hosts/framework-server/cron.nix
Normal 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"
|
||||||
|
];
|
||||||
|
}
|
|
@ -10,6 +10,7 @@
|
||||||
./ssh-luks.nix
|
./ssh-luks.nix
|
||||||
./docker.nix
|
./docker.nix
|
||||||
./wireguard.nix
|
./wireguard.nix
|
||||||
|
./cron.nix
|
||||||
] ++ lib.optional (builtins.isString desktop) ./rdesktop.nix;
|
] ++ lib.optional (builtins.isString desktop) ./rdesktop.nix;
|
||||||
|
|
||||||
# steam , etc
|
# steam , etc
|
||||||
|
|
Loading…
Reference in a new issue