Skip to content

lib.booleans: add yesNo function#2818

Merged
sumnerevans merged 1 commit intomasterfrom
2772-add-yesno-lib-fn
Apr 8, 2022
Merged

lib.booleans: add yesNo function#2818
sumnerevans merged 1 commit intomasterfrom
2772-add-yesno-lib-fn

Conversation

@sumnerevans
Copy link
Copy Markdown
Contributor

Closes #2772

Description

Unify all of the "yesno" functions into a single function in lib.hm.

Checklist

  • Change is backwards compatible.

  • Code formatted with ./format.

  • Code tested through nix-shell --pure tests -A run.all.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.

    • Added myself and the module files to .github/CODEOWNERS.

Copy link
Copy Markdown
Member

@berbiche berbiche left a comment

Choose a reason for hiding this comment

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

LGTM!

@sumnerevans sumnerevans merged commit f911ebb into master Apr 8, 2022
@teto teto mentioned this pull request Aug 22, 2022
7 tasks
teto pushed a commit to teto/home-manager that referenced this pull request Aug 22, 2022
spacekookie pushed a commit to spacekookie/home-manager that referenced this pull request Feb 10, 2023
@khaneliman khaneliman deleted the 2772-add-yesno-lib-fn branch April 5, 2025 19:53
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 Lib function for "yes" and "no"

2 participants