mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-26 05:40:52 +01:00
17 lines
410 B
Nix
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-Ooh97vo6d4NR6xDhLpofWPYgImPFrwSWBOGxkZUWscQ=";
|
|
})
|
|
];
|
|
};
|
|
|
|
nix.allowedUsers = [ "status" ];
|
|
}
|