16 lines
415 B
Nix
16 lines
415 B
Nix
{pkgs, ...}: {
|
|
users.users.erwin = {
|
|
isNormalUser = true;
|
|
home = "/home/erwin";
|
|
extraGroups = ["wheel" "adm" "audio" "video"];
|
|
shell = pkgs.fish;
|
|
openssh.authorizedKeys.keyFiles = [
|
|
(pkgs.fetchurl {
|
|
url = "https://github.com/eboskma.keys";
|
|
sha256 = "1l7f425kvfmrs4dfcvllb76182jgb14l1silyy4qmjxvinawb1yj";
|
|
})
|
|
];
|
|
};
|
|
|
|
nix.settings.allowed-users = ["erwin"];
|
|
}
|