summaryrefslogtreecommitdiff
path: root/modules/host-common.nix
blob: cc9580731d77ceb633090412507cfb6e2eba7ea5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  config,
  lib,
  hostname,
  ...
}:
let
  userOptions = import ../hosts/${hostname}/userOptions.nix;
in
{
  _module.args.userOptions = userOptions;

  home.username = userOptions.username;
  home.homeDirectory = userOptions.userHome;
}