mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
18 lines
525 B
Nix
18 lines
525 B
Nix
# This is the user that is often used for servers.
|
|
{ lib, pkgs, ... }:
|
|
|
|
{
|
|
users.users.plover = {
|
|
hashedPassword = "$6$gpgBrL3.RAGa9NBp$93Ac5ZW53KcgbA9q4awVKA.bVArP7Hw1NbyakT30Mav.7obIuN17WWijT.EaBSJU6ArvdXTehC3xZ9/9oZPDR0";
|
|
extraGroups = [ "wheel" ];
|
|
useDefaultShell = true;
|
|
isNormalUser = true;
|
|
description = "The go-to user for server systems.";
|
|
|
|
openssh.authorizedKeys.keyFiles = [
|
|
../../home-manager/foo-dogsquared/files/ssh-key.pub
|
|
../../../hosts/ni/files/ssh-key.pub
|
|
];
|
|
};
|
|
}
|