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

om health: Check for home-manager on non-NixOS systems #236

Open
srid opened this issue Mar 26, 2024 · 0 comments
Open

om health: Check for home-manager on non-NixOS systems #236

srid opened this issue Mar 26, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@srid
Copy link
Collaborator

srid commented Mar 26, 2024

Have om health check that the user's shell (zsh or bash, whatever is currently active) is entirely managed by Nix via home-manager.

One way to check for this is to see if the shell configuration ultimately points to the Nix store:

❯ ls -l ~/.zshrc
lrwxr-xr-x srid staff 69 B Mon Sep  2 11:52:57 2024  /Users/srid/.zshrc ⇒ /nix/store/fkl4wy791kciszybskchvy08x1cwzpnm-home-manager-files/.zshrc

Bonus points if it can detect the use of https://github.com/juspay/nix-dev-home

@srid srid added the enhancement New feature or request label Mar 26, 2024
@srid srid transferred this issue from juspay/omnix Apr 5, 2024
@srid srid transferred this issue from juspay/nix-health Aug 27, 2024
@srid srid changed the title nix-health: Check for home-manager on non-NixOS systems om health: Check for home-manager on non-NixOS systems Aug 27, 2024
@rsrohitsingh682 rsrohitsingh682 self-assigned this Sep 24, 2024
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