fix llm stuff
This commit is contained in:
parent
ad421cea84
commit
5786863608
12 changed files with 131 additions and 95 deletions
17
home/util/name.nix
Normal file
17
home/util/name.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkOption;
|
||||
in {
|
||||
options.mainUser = mkOption {
|
||||
type = lib.types.str;
|
||||
};
|
||||
config.home = let
|
||||
inherit (config) mainUser;
|
||||
in {
|
||||
username = mainUser;
|
||||
homeDirectory = "/home/${mainUser}";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue