refactor: add config.host option for host variables
This commit is contained in:
1 parent
4c9db2b822
commit
43dff3e8e5
10 files changed
+89
-72
No files matched your search
@@ -4,9 +4,6 @@
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
username = "h";
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
../../modules
|
||||
@@ -33,8 +30,8 @@ in
|
||||
|
||||
home = {
|
||||
stateVersion = "25.05";
|
||||
inherit username;
|
||||
homeDirectory = "/home/${username}";
|
||||
username = config.host.username;
|
||||
homeDirectory = "/home/${config.host.username}";
|
||||
};
|
||||
|
||||
xdg.userDirs.createDirectories = false;
|
||||
|
||||
Reference in new issue
Block a user