2021-01-07 18:21:46 +01:00
|
|
|
{ config, options, pkgs, ... }:
|
2020-08-22 17:44:39 +02:00
|
|
|
{
|
|
|
|
users.users.simon = {
|
|
|
|
isNormalUser = true;
|
|
|
|
extraGroups = [
|
|
|
|
"adbusers"
|
2022-10-15 23:27:12 +02:00
|
|
|
"cdrom"
|
2022-05-21 17:42:32 +02:00
|
|
|
"corectrl"
|
2020-08-22 17:44:39 +02:00
|
|
|
"dialout"
|
2021-04-09 11:34:49 +02:00
|
|
|
"keys"
|
2020-09-12 20:54:10 +02:00
|
|
|
"libvirtd"
|
2020-08-22 17:44:39 +02:00
|
|
|
"lp"
|
|
|
|
"networkmanager"
|
2020-10-17 20:12:13 +02:00
|
|
|
"video"
|
2020-08-22 17:44:39 +02:00
|
|
|
"wheel"
|
2021-12-10 18:00:13 +01:00
|
|
|
"wireshark"
|
2020-08-22 17:44:39 +02:00
|
|
|
];
|
2020-12-05 16:42:49 +01:00
|
|
|
openssh.authorizedKeys.keys = config.sbruder.pubkeys.trustedKeys;
|
2020-12-06 14:05:47 +01:00
|
|
|
initialPassword = "foobar"; # for vm
|
2020-08-22 17:44:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
|
2020-12-05 15:01:40 +01:00
|
|
|
home-manager.users.simon = { lib, pkgs, ... }: {
|
2020-12-05 19:19:45 +01:00
|
|
|
imports = [ ./modules ];
|
2021-01-04 15:22:39 +01:00
|
|
|
|
|
|
|
config = {
|
2021-01-31 12:11:39 +01:00
|
|
|
home.stateVersion = config.system.stateVersion;
|
2021-01-04 15:22:39 +01:00
|
|
|
};
|
2020-08-22 17:44:39 +02:00
|
|
|
};
|
|
|
|
}
|