Small refactor

This commit is contained in:
Julien Malka 2022-01-01 20:46:20 +01:00
parent d05b910886
commit de03120bfd
No known key found for this signature in database
GPG key ID: 3C68E13964FEA07F
7 changed files with 41 additions and 8 deletions

17
users/status.nix Normal file
View file

@ -0,0 +1,17 @@
{ config, pkgs, lib, ... }: {
users.users.julien = {
isNormalUser = true;
home = "/home/status";
extraGroups = [ "wheel" ];
shell = pkgs.fish;
openssh.authorizedKeys.keyFiles = [
(pkgs.fetchurl {
url = "https://github.com/JulienMalka.keys";
sha256 = "sha256-nBgn7jOqi/nPHhTy3x/oirL+A4X2gbmwy1NXLZhV99M=";
})
];
};
nix.allowedUsers = [ "status" ];
}