nixos-config/users/erwin/default.nix

17 lines
421 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" ];
}