nixos-config/users/simon/default.nix
2021-05-01 17:36:58 +02:00

30 lines
593 B
Nix

{ config, options, pkgs, ... }:
{
users.users.simon = {
isNormalUser = true;
extraGroups = [
"adbusers"
"dialout"
"keys"
"libvirtd"
"lp"
"networkmanager"
"video"
"wheel"
];
openssh.authorizedKeys.keys = config.sbruder.pubkeys.trustedKeys;
initialPassword = "foobar"; # for vm
};
home-manager.useUserPackages = true;
home-manager.useGlobalPkgs = true;
home-manager.users.simon = { lib, pkgs, ... }: {
imports = [ ./modules ];
config = {
home.stateVersion = config.system.stateVersion;
};
};
}