diff options
| author | Amir Saeid <amir@glgdgt.com> | 2026-03-08 20:12:44 +0000 |
|---|---|---|
| committer | Amir Saeid <amir@glgdgt.com> | 2026-03-08 20:12:44 +0000 |
| commit | 1b95597c921f7a94e0e7b08871d51f941076c319 (patch) | |
| tree | 663383bc82412d690cd44927bf8cd289d3a3c4c6 /modules/host-common.nix | |
Initial commit
Diffstat (limited to 'modules/host-common.nix')
| -rw-r--r-- | modules/host-common.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/host-common.nix b/modules/host-common.nix new file mode 100644 index 0000000..83a51e2 --- /dev/null +++ b/modules/host-common.nix @@ -0,0 +1,10 @@ +{ config, lib, hostname, ... }: +let + userOptions = import ../hosts/${hostname}/userOptions.nix; +in +{ + _module.args.userOptions = userOptions; + + home.username = userOptions.username; + home.homeDirectory = userOptions.userHome; +} |
