-
Notifications
You must be signed in to change notification settings - Fork 107
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
make core an unecessary profile and add to suites #229
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please falsify my suspicions, here...
lib/devos/mkHosts.nix
Outdated
@@ -49,6 +49,11 @@ let | |||
override.flake = inputs.override; | |||
}; | |||
|
|||
nix.allowedUsers = [ "@wheel" ]; | |||
nix.trustedUsers = [ "root" "@wheel" ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Is there a guarantee for root to exist? 2. Does it matter?
- Does this need to be here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe root is necessary for a nixos system, I could be wrong.
But that could go in the core profile, I'm not against that. devos would work fine without those lines.
The separation I did was fairly opinionated, and I've always had those lines in my hosts, so I thought it would make sense to include in mkHosts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC, @nrdxp did not have root in his config?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I'll just put this back in the core profile. It is definitely not needed, I guess I didn't think there would be a reason to not include it. But you have proved me wrong :).
b370e78
to
b648e20
Compare
bors r+ |
👎 Rejected by too few approved reviews |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
Build failed: |
Prevents mkHosts subverting standard devos api to import core and add all necessary core features to mkHosts, so core can be safely deleted in suites
bors r+ |
👎 Rejected by too few up-to-date approved reviews (some of the PR reviews are stale) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
👎 Rejected by too few up-to-date approved reviews (some of the PR reviews are stale) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
Build succeeded: |
Prevents mkHosts subverting standard devos api to import core and add
all necessary core features to mkHosts, so core can be safely deleted in
suites