30 lines
593 B
Nix
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;
|
|
};
|
|
};
|
|
}
|