32 lines
464 B
Nix
32 lines
464 B
Nix
{ const
|
|
, util
|
|
, style
|
|
, pkgs
|
|
, lib
|
|
, config
|
|
, key
|
|
, secret
|
|
, ... } @args: {
|
|
imports = [
|
|
(import ./common (args // {
|
|
username = "voronind";
|
|
homeDir = "/home/voronind";
|
|
}))
|
|
];
|
|
|
|
users.users.voronind = {
|
|
createHome = true;
|
|
description = "Dmitry Voronin";
|
|
hashedPassword = secret.hashedPassword;
|
|
isNormalUser = true;
|
|
uid = 1000;
|
|
extraGroups = [
|
|
"input"
|
|
"keyd"
|
|
"libvirtd"
|
|
"networkmanager"
|
|
"video"
|
|
];
|
|
};
|
|
}
|