modules: home: use 'self'-relative import

This commit is contained in:
Bruno BELANYI 2023-11-09 13:40:58 +00:00
parent 27564cad42
commit b52e56ed08

View file

@ -14,7 +14,7 @@ in
config = lib.mkIf cfg.enable {
home-manager = {
# 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
useGlobalPkgs = true;