stuff
This commit is contained in:
parent
3f6dafe073
commit
79792e5a76
24 changed files with 143 additions and 101 deletions
|
@ -1,14 +1,13 @@
|
|||
{ config, inputs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (config.users) mainUser;
|
||||
in
|
||||
{
|
||||
users = {
|
||||
mainUser = lib.mkForce "lukas";
|
||||
users.${mainUser}.description = lib.mkForce "Lukas Wurzinger";
|
||||
age.secrets.user-lukas.file = inputs.self + /secrets/users/helvetica.age;
|
||||
|
||||
users.users.lukas = {
|
||||
description = "Lukas Wurzinger";
|
||||
uid = 1000;
|
||||
isNormalUser = true;
|
||||
hashedPasswordFile = config.age.secrets.user-lukas.path;
|
||||
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.users;
|
||||
extraGroups = [ "wheel" ]; # TODO remove
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue