infra/nixos-configuration/steveej-laptop/user.nix

30 lines
483 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
{
imports =
[
../common/user/root.nix
];
users.extraUsers.steveej = {
uid = 1000;
isNormalUser = true;
home = "/home/steveej";
extraGroups = [
"wheel"
"libvirtd"
"networkmanager"
"vboxusers"
"users"
"input"
"audio"
"video"
];
hashedPassword = "removed";
2017-05-04 13:56:14 +02:00
shell = pkgs.zsh;
};
security.pam.enableU2F = true;
security.pam.services.steveej.u2fAuth = true;
}