18 lines
424 B
Nix
18 lines
424 B
Nix
|
{ config, pkgs, lib, ... }:
|
||
|
{
|
||
|
users.users.erwin = {
|
||
|
isNormalUser = true;
|
||
|
home = "/home/erwin";
|
||
|
exdraGroups = [ "wheel" "adm" "audio" "video" ];
|
||
|
shell = pkgs.fish;
|
||
|
openssh.authorizedKeys.keyFiles = [
|
||
|
(pkgs.fetchurl {
|
||
|
url = "https://github.com/eboskma.keys";
|
||
|
sha256 = "1l7f425kvfmrs4dfcvllb76182jgb14l1silyy4qmjxvinawb1yj";
|
||
|
})
|
||
|
];
|
||
|
};
|
||
|
|
||
|
nix.allowedUsers = [ "erwin" ];
|
||
|
}
|