linted
This commit is contained in:
atagen 2025-02-02 16:57:31 +11:00
parent 4e99a0e323
commit 7485de646a
95 changed files with 2743 additions and 2282 deletions

View file

@ -2,16 +2,20 @@
lib,
config,
...
}: let
}:
let
inherit (lib) mkOption;
in {
in
{
options.mainUser = mkOption {
type = lib.types.str;
};
config.home = let
inherit (config) mainUser;
in {
username = mainUser;
homeDirectory = "/home/${mainUser}";
};
config.home =
let
inherit (config) mainUser;
in
{
username = mainUser;
homeDirectory = "/home/${mainUser}";
};
}