mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-10-11 17:16:15 +02:00
Auto: cleanup-2026-09-13T08-29-34Z
This commit is contained in:
1 parent
bd678ae32d
commit
bd97ba4df7
1 file changed
+5
-9
@@ -6,14 +6,12 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
flake.nixosModules.cs-119l = {pkgs, ...}:
|
flake.nixosModules.cs-119l = {pkgs, ...}: let
|
||||||
let
|
user = "tomasr";
|
||||||
user = "YOUR_USERNAME";
|
|
||||||
home = "/home/${user}";
|
home = "/home/${user}";
|
||||||
src = "${home}/epfl/cs-119l-ICC/";
|
src = "${home}/epfl/cs-119l-ICC/";
|
||||||
dst = "${home}/kdrive/Travaille/2 - Bachelor/Information, calcul, communication CS-119l/";
|
dst = "${home}/kdrive/Travail/2 - Bachelor/Information, calcul, communication CS-119l/";
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
vscode-fhs
|
vscode-fhs
|
||||||
];
|
];
|
||||||
@@ -24,8 +22,7 @@
|
|||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
User = user;
|
User = user;
|
||||||
|
|
||||||
ExecStart =
|
ExecStart = "${pkgs.rsync}/bin/rsync -a '${src}' '${dst}'";
|
||||||
"${pkgs.rsync}/bin/rsync -a '${src}' '${dst}'";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -65,5 +62,4 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user