17 lines
507 B
Nix
17 lines
507 B
Nix
{ lib, stateVersion, username, hostname, ... }:
|
|
{
|
|
home.username = "${username}";
|
|
home.homeDirectory = "/home/${username}";
|
|
home.stateVersion = stateVersion;
|
|
home.sessionPath = [
|
|
"$HOME/.local/bin"
|
|
];
|
|
imports = [
|
|
../nixos/includes/system/overlay.nix
|
|
../hosts/${hostname}/home-config.nix
|
|
../modules/home-manager/default.nix
|
|
]++ lib.optional (
|
|
builtins.pathExists ../hosts/${hostname}/includes/home-manager.nix
|
|
) ../hosts/${hostname}/includes/home-manager.nix;
|
|
|
|
}
|