nixcfg/userModules/aly/default.nix

36 lines
976 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
config,
lib,
self,
2024-04-07 22:16:33 -04:00
...
}: {
imports = [./syncthing.nix];
config = lib.mkIf config.ar.users.aly.enable {
2024-07-09 11:36:22 -04:00
home-manager.users.aly = self.homeManagerModules.aly;
users.users.aly = {
description = "Aly Raffauf";
extraGroups = config.ar.users.defaultGroups;
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 AAAAC3NzaC1lZDI1NTE5AAAAIG0HAmaMTAvrFrinB+b83c8hq6PyjmxRHg1IxR2GH6RN u0_a344@localhost" # termux on wallace
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGcJBb7+ZxkDdk06A0csNsbgT9kARUN185M8k3Lq7E/d u0_a336@localhost" # termux on winona
];
keyFiles = [
../../secrets/publicKeys/aly_lavaridge.pub
../../secrets/publicKeys/aly_mauville.pub
../../secrets/publicKeys/aly_petalburg.pub
../../secrets/publicKeys/aly_rustboro.pub
2024-06-29 15:32:08 -04:00
];
};
uid = 1000;
};
};
}