nix/users/mrhedgehog/default.nix
2022-04-20 13:14:00 -04:00

12 lines
443 B
Nix

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