nix/users/mrhedgehog/default.nix

16 lines
488 B
Nix
Raw Normal View History

2022-02-01 22:52:30 +00:00
{ hmUsers
2022-02-03 11:46:44 +00:00
, nixpkgs
2022-02-01 22:52:30 +00:00
, ...
}:
{
2022-01-29 18:18:22 +00:00
home-manager.users = { inherit (hmUsers) mrhedgehog; };
users.users.mrhedgehog = {
description = "Mr Hedgehog";
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ];
2022-02-01 22:52:30 +00:00
hashedPassword = "$6$6EtuZhVOJdfI9DYP$1Qnd7R8qdN.E5yE2kDQCNg2zgJ5cIjNBKsIW/qJgb8wcKlUpIoVg/fEKvBkAgCiLyojVG2kzfu4J9LR8rA8a2/";
2022-02-03 11:46:44 +00:00
shell = nixpkgs.fish;
2022-02-01 22:52:30 +00:00
openssh = { authorizedKeys = { keyFiles = [ ../../ssh/yubikey.pub ../../ssh/backup.pub ]; }; };
2022-01-29 18:18:22 +00:00
};
}