blob: 722c9abfb8ea6fd5a4451b610ea81217b1f66614 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ config, lib, ... }:
let
username = config.global.userdata.name;
host = config.networking.hostName;
homeManagerHostPath = ../../../home/${host}/home.nix;
in
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = false;
users.${username}.imports = [
../../../home/common/home.nix
]
++ lib.optional (builtins.pathExists homeManagerHostPath) homeManagerHostPath;
};
}
|