refactor: separate NixOS and Home-Manager configuration
This commit is contained in:
parent
9edca93fd5
commit
d446f84030
5 changed files with 75 additions and 127 deletions
|
@ -1,13 +1,4 @@
|
|||
{ lib, hostname, ...}:
|
||||
_:
|
||||
{
|
||||
programs.home-manager.enable = true;
|
||||
home.sessionPath = [
|
||||
"$HOME/.local/bin"
|
||||
];
|
||||
imports = [
|
||||
../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