working on fixing my build

This commit is contained in:
Chris Kruining 2025-03-19 15:29:02 +01:00
parent d5e7b0dfbe
commit b893fbf7ed
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
5 changed files with 170 additions and 16 deletions

View file

@ -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}";