2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
2024-06-11 16:24:12 -04:00
|
|
|
config = lib.mkIf config.alyraffauf.users.aly.enable {
|
2024-03-28 16:13:46 -04:00
|
|
|
users.users.aly = {
|
|
|
|
description = "Aly Raffauf";
|
2024-04-07 22:16:33 -04:00
|
|
|
extraGroups = ["networkmanager" "wheel" "docker" "libvirtd" "video"];
|
2024-06-11 16:24:12 -04:00
|
|
|
hashedPassword = config.alyraffauf.users.aly.password;
|
2024-05-27 21:39:30 -04:00
|
|
|
isNormalUser = true;
|
|
|
|
linger = true;
|
2024-06-18 18:50:28 -04:00
|
|
|
uid = 1000;
|
|
|
|
|
2024-06-10 19:51:42 -04:00
|
|
|
openssh.authorizedKeys.keys = [
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGcJBb7+ZxkDdk06A0csNsbgT9kARUN185M8k3Lq7E/d u0_a336@localhost" # termux on winona
|
|
|
|
(builtins.readFile ../../../secrets/publicKeys/aly_lavaridge.pub)
|
|
|
|
(builtins.readFile ../../../secrets/publicKeys/aly_mauville.pub)
|
|
|
|
(builtins.readFile ../../../secrets/publicKeys/aly_petalburg.pub)
|
|
|
|
(builtins.readFile ../../../secrets/publicKeys/aly_rustboro.pub)
|
|
|
|
];
|
2024-03-28 16:13:46 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|