summaryrefslogtreecommitdiff
path: root/nixos/lindy.nix
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-05-03 11:05:03 +0200
committerAlex Auvolat <alex@adnab.me>2023-05-03 11:05:03 +0200
commit6dba53af843594854d51b71107b16305258b6ee8 (patch)
tree79af0be1720c6c2ff9ba05a91b933193e755a518 /nixos/lindy.nix
parentf23cb61b49a7edb16945d601369b4ff10901c28d (diff)
downloaduser-config-6dba53af843594854d51b71107b16305258b6ee8.tar.gz
user-config-6dba53af843594854d51b71107b16305258b6ee8.zip
vim simplify ; add lindy backup cron
Diffstat (limited to 'nixos/lindy.nix')
-rw-r--r--nixos/lindy.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/lindy.nix b/nixos/lindy.nix
index 4ec8606..dac7933 100644
--- a/nixos/lindy.nix
+++ b/nixos/lindy.nix
@@ -80,6 +80,10 @@ Kogami UUID=61534c91-df18-4c71-9244-54e677f5d4fa /root/kogami_key
users.users.lx.home = "/home/lx.nix";
+ # Backup
+ services.cron.enable = true;
+ services.cron.systemCronJobs = [ "0 20 * * * root /media/Zonz/lindy/do-backup.sh" ];
+
# Nvidia graphics
services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl.enable = true;