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

[SPIKE] can we include a status update as part of a system rebuild? #7

Open
gmodena opened this issue Nov 8, 2023 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@gmodena
Copy link
Owner

gmodena commented Nov 8, 2023

Suggested in https://discourse.nixos.org/t/managing-flatpaks-declaratively/34532/13.

@gmodena gmodena added the enhancement New feature or request label Nov 8, 2023
@gmodena
Copy link
Owner Author

gmodena commented Dec 23, 2023

Display the line by line update for each flatpak that is updated by piping the update outputs from the flatpak update command to the NixOS rebuild command

This turned out to be a bit more convoluted than I had anticipated. Under the hood flatpak update is executed from a systemd unit, triggered on activation by systemct. By default, systemctl swallows the command output and redirects it to journald. While there's option to intercept and redirect stdout, I have not yet found a decent solution that works for both HM and nixos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants
@gmodena and others