nixcfg/userModules/aly/default.nix
Aly Raffauf 20006b02d8
Some checks failed
nix-build / default-build (push) Has been cancelled
nix-build / fallarbor-build (push) Has been cancelled
nix-build / lavaridge-build (push) Has been cancelled
nix-build / mauville-build (push) Has been cancelled
nix-build / pacifidlog-build (push) Has been cancelled
nix-build / rustboro-build (push) Has been cancelled
nix-build / slateport-build (push) Has been cancelled
nix-check / fmt-check (push) Has been cancelled
nix-check / eval-check (push) Has been cancelled
Merge branch 'master' into drop-petalburg
2024-10-18 15:07:02 -04:00

33 lines
757 B
Nix

{
config,
lib,
pkgs,
...
}: {
imports = [./syncthing.nix];
config = lib.mkIf config.ar.users.aly.enable {
users.users.aly = {
description = "Aly Raffauf";
extraGroups = config.ar.users.defaultGroups;
hashedPassword = config.ar.users.aly.password;
isNormalUser = true;
openssh.authorizedKeys = {
keys = [
"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_rustboro.pub
];
};
shell = pkgs.zsh;
uid = 1000;
};
};
}