snowfield/users/status.nix
2022-04-01 10:55:14 +02:00

17 lines
410 B
Nix

{ config, pkgs, lib, ... }: {
users.users.status = {
isNormalUser = true;
home = "/home/status";
extraGroups = [ "wheel" ];
shell = pkgs.fish;
openssh.authorizedKeys.keyFiles = [
(pkgs.fetchurl {
url = "https://github.com/JulienMalka.keys";
sha256 = "sha256-/i6WOEWBfXnRln9r6GCznoc47UzN+jInkWjTSqNafHI=";
})
];
};
nix.allowedUsers = [ "status" ];
}