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

[Backport release-24.05] nixos/ups: add envvars for interactive use #341235

Merged
merged 2 commits into from
Sep 14, 2024

Commits on Sep 11, 2024

  1. nixos/ups: deduplicate environment variables

    No functional change, but more DRY.
    
    (cherry picked from commit 801388a)
    bjornfor authored and github-actions[bot] committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    69c5ed7 View commit details
    Browse the repository at this point in the history
  2. nixos/ups: set env vars in the global environment

    This allows using upsdrvctl interactively, which otherwise tries to use
    a missing ups.conf in the Nix store, instead of the correct
    /etc/nut/ups.conf.
    
    (cherry picked from commit 1cb392f)
    bjornfor authored and github-actions[bot] committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    75c189d View commit details
    Browse the repository at this point in the history