Skip to content

sith-lord-vader/nix-pkg-module-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Features

  • Simple ready to use boilerplate in order to start making flakes of packages and modules.
  • Easy to understand and follow.
  • Well documented with comments.

Boilerplate to start developing flakyfied Nix Package and Module

This boilerplate will eliminate your worries about packaging your software for NixOs. Leave the task of writing flake to this and focus on your software.

This boilerplate shows an example where it provides a package named "pkg_name" and its corresponding module named "module_name". The package installs a bash script to the system which can be run by the command "pkg_name".

It also provides a module called "module_name" which if added to the system provides a service called "pkg_name". Once the service is enabled and a string is provided to the option "extra_option", the service will keep printing this string along with the current time after 30 seconds.

Help

I am still learning Nix, so I need your help and contributions to improve it. Please provide your feedback and use this boilerplate to provide documentation and showcase best practices.

Contributors

Abhishek Adhikari (Github | Twitter | Website | Email)

License

The Creative Commons Zero v1.0 Universal.

About

Boilerplate to start developing flakyfied Nix Package and Module

Topics

Resources

License

Stars

Watchers

Forks