modules: home: use 'self'-relative import

This commit is contained in:
Bruno BELANYI 2023-11-09 13:40:58 +00:00
parent 32ec402ad0
commit dfec81d735

View file

@ -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;