Way too massive refactoring
This commit is contained in:
parent
113d68be68
commit
24aac9708b
49 changed files with 481 additions and 407 deletions
18
shared/users/vili.nix
Normal file
18
shared/users/vili.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
users.users.vili = {
|
||||
isNormalUser = true;
|
||||
home = "/home/vili";
|
||||
description = "Vili Sinervä";
|
||||
uid = 1000;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
"audio"
|
||||
];
|
||||
openssh.authorizedKeys.keys = config.users.users.root.openssh.authorizedKeys.keys;
|
||||
hashedPasswordFile = "/persist/secrets/hashed-passwords/vili";
|
||||
};
|
||||
|
||||
users.groups.vili.gid = 1000;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue