2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
config,
|
2024-06-28 19:36:23 -04:00
|
|
|
lib,
|
2024-08-04 11:47:57 -04:00
|
|
|
pkgs,
|
2024-04-07 22:16:33 -04:00
|
|
|
...
|
|
|
|
}: {
|
2024-07-08 00:58:52 -04:00
|
|
|
imports = [./syncthing.nix];
|
|
|
|
|
2024-06-26 22:13:02 -04:00
|
|
|
config = lib.mkIf config.ar.users.aly.enable {
|
2024-03-28 16:13:46 -04:00
|
|
|
users.users.aly = {
|
|
|
|
description = "Aly Raffauf";
|
2024-07-02 16:23:27 -04:00
|
|
|
extraGroups = config.ar.users.defaultGroups;
|
2024-06-26 22:13:02 -04:00
|
|
|
hashedPassword = config.ar.users.aly.password;
|
2024-05-27 21:39:30 -04:00
|
|
|
isNormalUser = true;
|
2024-06-18 19:16:35 -04:00
|
|
|
|
2024-06-29 15:32:08 -04:00
|
|
|
openssh.authorizedKeys = {
|
|
|
|
keys = [
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGcJBb7+ZxkDdk06A0csNsbgT9kARUN185M8k3Lq7E/d u0_a336@localhost" # termux on winona
|
|
|
|
];
|
|
|
|
|
|
|
|
keyFiles = [
|
2024-07-07 17:12:00 -04:00
|
|
|
../../secrets/publicKeys/aly_lavaridge.pub
|
|
|
|
../../secrets/publicKeys/aly_mauville.pub
|
2024-11-29 21:05:05 -05:00
|
|
|
../../secrets/publicKeys/aly_petalburg.pub
|
2024-07-07 17:12:00 -04:00
|
|
|
../../secrets/publicKeys/aly_rustboro.pub
|
2024-06-29 15:32:08 -04:00
|
|
|
];
|
|
|
|
};
|
2024-07-02 16:23:27 -04:00
|
|
|
|
2024-08-04 11:47:57 -04:00
|
|
|
shell = pkgs.zsh;
|
2024-07-02 16:23:27 -04:00
|
|
|
uid = 1000;
|
2024-03-28 16:13:46 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|