add sync user, remove Downloads folder from synced list

This commit is contained in:
2026-06-26 13:52:55 +02:00
parent 0597249641
commit 87a09834a2
2 changed files with 10 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{ lib, config, pkgs, ... }:
let
defPathLst = ["desktop" "42_desktop" "Downloads"];
defPathLst = [ "desktop" "42_desktop" ];
in
{
options.mods.sync = {

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2025/09/06 00:57:04 by tomoron #+# #+# #
# Updated: 2026/06/15 02:03:18 by tomoron ### ########.fr #
# Updated: 2026/06/24 18:42:19 by tomoron ### ########.fr #
# #
# **************************************************************************** #
@ -35,4 +35,12 @@
enable = true;
boot = false;
};
users.users.sync = {
isNormalUser = true;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIkVmIAJZewJVC6i1f39P7D36OPsdKqMNejALhBo92Td backup@server"
"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIPy6ObpsitxHkRZzGbYdBpsBbR1YygtZOeClN2C/thu4AAAABHNzaDo= ssh:"
];
};
}