modules: home: use 'self'-relative import
This commit is contained in:
parent
27564cad42
commit
b52e56ed08
|
@ -14,7 +14,7 @@ in
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
home-manager = {
|
home-manager = {
|
||||||
# Not a fan of out-of-directory imports, but this is a good exception
|
# Not a fan of out-of-directory imports, but this is a good exception
|
||||||
users.${config.my.user.name} = import ../../home;
|
users.${config.my.user.name} = import "${inputs.self}/home";
|
||||||
|
|
||||||
# Nix Flakes compatibility
|
# Nix Flakes compatibility
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
|
|
Loading…
Reference in a new issue