mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-25 21:30:52 +01:00
16 lines
384 B
Nix
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" ];
|
|
}
|