nox/modules/user_account.nix
2025-03-05 22:49:12 +01:00

29 lines
658 B
Nix

{
modulesPath,
config,
lib,
pkgs,
...
}:
{
programs.fish.enable = true;
users.users.noc = {
createHome = true;
extraGroups = [
"wheel"
];
home = "/home/noc";
shell = pkgs.fish;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPaVpSL8G9Gs16bSNn9tDl29PiN0SwYZuYCMkp9baSua lilly"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOgfWcCrsVSXvYEssbfMOy2DnfkGSx+ZRnPLtjVNSxbf c6ristian"
];
hashedPassword = "$y$j9T$1hxU2SmiDZSF57JiVq8Y70$9Fw63EAcU0E5Uw8XGVEc6TTio3y4E832mV7MS0QPm5D";
isNormalUser = true;
};
home-manager.users.noc = {
home.preferXdgDirectories = true;
};
}