Auto: cleanup-2026-09-13T08-29-34Z

This commit is contained in:
tomasr committed 2026-09-13 10:31:41 +02:00
1 parent bd678ae32d
commit bd97ba4df7
1 file changed
+6 -10
+6 -10
View File
@@ -6,14 +6,12 @@
];
};
flake.nixosModules.cs-119l = {pkgs, ...}:
let
user = "YOUR_USERNAME";
flake.nixosModules.cs-119l = {pkgs, ...}: let
user = "tomasr";
home = "/home/${user}";
src = "${home}/epfl/cs-119l-ICC/";
dst = "${home}/kdrive/Travaille/2 - Bachelor/Information, calcul, communication CS-119l/";
in
{
dst = "${home}/kdrive/Travail/2 - Bachelor/Information, calcul, communication CS-119l/";
in {
environment.systemPackages = with pkgs; [
vscode-fhs
];
@@ -24,15 +22,14 @@
Type = "oneshot";
User = user;
ExecStart =
"${pkgs.rsync}/bin/rsync -a '${src}' '${dst}'";
ExecStart = "${pkgs.rsync}/bin/rsync -a '${src}' '${dst}'";
};
};
systemd.timers.sync-cs119l-to-kdrive = {
description = "Sync CS-119l ICC to kDrive every Thursday and Friday evening";
wantedBy = [ "timers.target" ];
wantedBy = ["timers.target"];
timerConfig = {
OnCalendar = [
@@ -65,5 +62,4 @@
'';
};
};
}