Simon Bruder
10b8d432d5
This applies the REUSE specification to the repository, so the licensing information can be tracked for every file individually.
37 lines
758 B
Nix
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;
|
|
};
|
|
};
|
|
}
|