nix/users/mrhedgehog/default.nix
2022-02-27 15:57:58 -05:00

17 lines
494 B
Nix

{
hmUsers,
nixpkgs,
...
}: {
home-manager.users = {inherit (hmUsers) mrhedgehog;};
users.users.mrhedgehog = {
description = "Mr Hedgehog";
isNormalUser = true;
extraGroups = ["wheel" "networkmanager"];
hashedPassword = "$6$6EtuZhVOJdfI9DYP$1Qnd7R8qdN.E5yE2kDQCNg2zgJ5cIjNBKsIW/qJgb8wcKlUpIoVg/fEKvBkAgCiLyojVG2kzfu4J9LR8rA8a2/";
shell = nixpkgs.fish;
openssh = {
authorizedKeys = {keyFiles = [../../ssh/yubikey.pub ../../ssh/backup.pub];};
};
};
}