nixos-config/users/simon/default.nix
Simon Bruder 10b8d432d5
Relicense
This applies the REUSE specification to the repository, so the licensing
information can be tracked for every file individually.
2024-01-13 14:39:22 +01:00

37 lines
758 B
Nix

# SPDX-FileCopyrightText: 2020-2022 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ config, options, pkgs, ... }:
{
users.users.simon = {
isNormalUser = true;
extraGroups = [
"adbusers"
"cdrom"
"corectrl"
"dialout"
"keys"
"libvirtd"
"lp"
"networkmanager"
"video"
"wheel"
"wireshark"
];
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;
};
};
}