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

security.sudo.extraConfig: init #866

Merged
merged 1 commit into from
Feb 12, 2024
Merged

security.sudo.extraConfig: init #866

merged 1 commit into from
Feb 12, 2024

Conversation

Samasaur1
Copy link
Contributor

This adds the option security.sudo.extraConfig, which puts a file in /etc/sudoers.d. Because macOS' /etc/sudoers file includes these lines:

## Read drop-in files from /private/etc/sudoers.d
## (the '#' here does not indicate a comment)
#includedir /private/etc/sudoers.d

this allows extra configuration, while also matching the NixOS option and thus allowing common config across operating systems.

Closes #793

Copy link
Collaborator

@Enzime Enzime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution

LGTM

@Enzime Enzime merged commit 44f50a5 into LnL7:master Feb 12, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add security.sudo.extraConfig
2 participants