2021-11-12 17:10:17 +01:00
|
|
|
{ pkgs, ... }:
|
2021-11-12 07:23:46 +01:00
|
|
|
{
|
|
|
|
users.users.erwin = {
|
|
|
|
isNormalUser = true;
|
|
|
|
home = "/home/erwin";
|
2021-11-12 17:10:17 +01:00
|
|
|
extraGroups = [ "wheel" "adm" "audio" "video" ];
|
2021-11-12 07:23:46 +01:00
|
|
|
shell = pkgs.fish;
|
|
|
|
openssh.authorizedKeys.keyFiles = [
|
|
|
|
(pkgs.fetchurl {
|
|
|
|
url = "https://github.com/eboskma.keys";
|
|
|
|
sha256 = "1l7f425kvfmrs4dfcvllb76182jgb14l1silyy4qmjxvinawb1yj";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
nix.allowedUsers = [ "erwin" ];
|
|
|
|
}
|