nixcfg/nixosModules/users/aly/default.nix
2024-06-18 18:50:28 -04:00

27 lines
857 B
Nix

{
inputs,
pkgs,
lib,
config,
...
}: {
config = lib.mkIf config.alyraffauf.users.aly.enable {
users.users.aly = {
description = "Aly Raffauf";
extraGroups = ["networkmanager" "wheel" "docker" "libvirtd" "video"];
hashedPassword = config.alyraffauf.users.aly.password;
isNormalUser = true;
linger = true;
uid = 1000;
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)
];
};
};
}