working on fixing my build
This commit is contained in:
parent
d5e7b0dfbe
commit
b893fbf7ed
5 changed files with 170 additions and 16 deletions
|
@ -6,16 +6,10 @@
|
|||
in rec
|
||||
{
|
||||
mkSysUser = path: let
|
||||
user = {
|
||||
full_name = "TODO";
|
||||
is_trusted = true;
|
||||
};
|
||||
name = removeSuffix ".nix" (baseNameOf path);
|
||||
in
|
||||
{
|
||||
inherit name;
|
||||
description = user.full_name;
|
||||
extraGroups = (user.groups or []) ++ (if user.is_trusted then [ "wheel" ] else []);
|
||||
isNormalUser = true;
|
||||
initialPassword = "kaas";
|
||||
home = "/home/${name}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue