Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: hm-activate- service not waiting for network #6439

Open
2 tasks done
MartinLoeper opened this issue Feb 12, 2025 · 0 comments
Open
2 tasks done

bug: hm-activate- service not waiting for network #6439

MartinLoeper opened this issue Feb 12, 2025 · 0 comments
Assignees
Labels
bug triage Issues or feature request that have not been triaged yet

Comments

@MartinLoeper
Copy link

Are you following the right branch?

  • My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

  • I have searched the existing issues

Issue description

Some of my activation scripts require network access to work.
Is it possible to make the hm-activate- systemd service depend on the network manager wait service or so?

example issue:

hm-activate-mloeper[2111]: warning: you don't have Internet access; disabling some network-dependent features
hm-activate-mloeper[2111]: removing 'home-manager-path'
hm-activate-mloeper[2111]: removed 1 packages, kept 0 packages
nix-daemon[1884]: accepted connection from pid 2111, user mloeper

[...]

hm-activate-mloeper[2141]: W0212 15:33:20.451244    2155 update.go:168] failed to update index "default": fetch index at "/home/mlo...
hm-activate-mloeper[2141]: failed to update the following indexes: default: fetch index at "/home/mloeper/.krew/index/default" fail...
home-manager-mloeper.service: Main process exited, code=exited, status=1/FAILURE

Maintainer CC

No response

System information

- system: `"x86_64-linux"`
 - host os: `Linux 6.12.10-zen1, NixOS, 25.05 (Warbler), 25.05.20250129.9d3ae80`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.12`
 - nixpkgs: `/nix/store/pgg4vm83q0kr4hxzcwhdgdiv2yfnh3dw-source`
@MartinLoeper MartinLoeper added bug triage Issues or feature request that have not been triaged yet labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Issues or feature request that have not been triaged yet
Projects
None yet
Development

No branches or pull requests

4 participants