Fix name of home manager in hm hook

main
Julius Riegel 8 months ago
parent a65c0f4669
commit cecef0d107

@ -41,13 +41,13 @@ end
exports.after_apply_all = function() exports.after_apply_all = function()
if utils.nu "which home-manager | is-empty" == "false\n" and (shasum { silo.dirs.config .. "/home-manager/home.nix" }).stdout ~= ha_checksum then if utils.nu "which home-manager | is-empty" == "false\n" and (shasum { silo.dirs.config .. "/home-manager/home.nix" }).stdout ~= ha_checksum then
local ha = utils.ext "home-manager" local hm = utils.ext "home-manager"
log.info("Applying home-manager config") log.info("Applying home-manager config")
ha { "switch" } hm { "switch" }
log.info "Expiring old home manager configurations" log.info "Expiring old home manager configurations"
ha { "expire-generations", "-1 days" } hm { "expire-generations", "-1 days" }
log.info "Clear invalid links" log.info "Clear invalid links"
clear_invalid_links() clear_invalid_links()

Loading…
Cancel
Save