feat: add standalone home-manager module
This commit is contained in:
parent
dea3740249
commit
7b22abd626
1 changed files with 17 additions and 0 deletions
17
home-manager/default.nix
Normal file
17
home-manager/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ 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;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue