clear (refactor options): refactor options
This commit is contained in:
parent
00ea2b0c36
commit
bfce36ce73
22 changed files with 340 additions and 463 deletions
|
|
@ -8,8 +8,8 @@ let
|
|||
homeDir = "/home/${userName}";
|
||||
in
|
||||
{
|
||||
info = {
|
||||
inherit userName;
|
||||
user = {
|
||||
name = userName;
|
||||
email = "...";
|
||||
};
|
||||
|
||||
|
|
@ -18,6 +18,8 @@ in
|
|||
};
|
||||
|
||||
device = {
|
||||
inherit deviceName hostName systemArch;
|
||||
name = deviceName;
|
||||
hostName = hostName;
|
||||
systemArch = systemArch;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{ userData, customFunctions, ... }:
|
||||
let
|
||||
userName = userData.info.userName;
|
||||
userName = userData.user.name;
|
||||
homeDirectory = userData.paths.homeDir;
|
||||
in
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{ userData, customFunctions, ... }:
|
||||
let
|
||||
name = userData.info.userName;
|
||||
name = userData.user.name;
|
||||
home = userData.paths.homeDir;
|
||||
in
|
||||
{
|
||||
|
|
|
|||
Reference in a new issue