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

feat(files): #7 Option to disable file creation #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hugosenari
Copy link
Contributor

@hugosenari hugosenari commented Feb 17, 2023

fix #7

If or some reason one line to enter the shell but not create the file, now there is an option

@@ -8,6 +8,7 @@ They are already included when we use this package.
- `files.cmds`, install packages from [nix repository](https://search.nixos.org/)
- `files.docs`, convert our modules file into markdown using [nmd](https://gitlab.com/rycee/nmd)
- `files.git`, configure git with file creation
- `files.on-call`, connfigure file to created only when devshell-files command is called, not on shell start
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@adrian-gierakowski I'm not good at naming things, suggestions?

Choose a reason for hiding this comment

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

  1. create-on-enter
  2. create-on-startup
  3. create-on-shell-start

Maybe should be camelCase though? The case usage seems a bit inconsistent in nixos module options, but I'd usually use kebab-case only when the value is expected to be a package, since the name would often correspond to executable name.

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.

Option to disable file creation
2 participants