snowfield/users/status.nix
2024-03-30 20:18:12 +01:00

16 lines
384 B
Nix

{ pkgs, ... }: {
users.users.status = {
isNormalUser = true;
home = "/home/status";
extraGroups = [ "wheel" ];
openssh.authorizedKeys.keyFiles = [
(pkgs.fetchurl {
url = "https://github.com/JulienMalka.keys";
sha256 = "sha256-Ooh97vo6d4NR6xDhLpofWPYgImPFrwSWBOGxkZUWscQ=";
})
];
};
nix.settings.allowed-users = [ "status" ];
}