From 1b95597c921f7a94e0e7b08871d51f941076c319 Mon Sep 17 00:00:00 2001 From: Amir Saeid Date: Sun, 8 Mar 2026 20:12:44 +0000 Subject: Initial commit --- modules/host-common.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 modules/host-common.nix (limited to 'modules/host-common.nix') 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; +} -- cgit v1.2.3