fixed hom path generation

This commit is contained in:
Thilo Billerbeck 2023-11-11 16:41:01 +01:00
parent 33bb5b472f
commit 33e59e0a94

View file

@ -1,7 +1,7 @@
{ config, pkgs, lib, ... }:
let
configPath = if config.machine.isGeneric then "$HOME/.config/home-manager" else "$HOME/.nixos-config";
configPath = if config.machine.isGeneric then "${config.home.homeDirectory}/.config/home-manager" else "${config.home.homeDirectory}/.nixos-config";
in {
programs.topgrade = {
enable = true;