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

Simple nixos module to enable configuration of freetds #3047

Merged
merged 1 commit into from
Aug 28, 2014

Conversation

chrisfarms
Copy link
Contributor

The freetds library relies on a few environment variables and a freetds.conf file for setting up connections.

This modules adds an easy way to write entries to freetds.conf and to setup the environment.

Example:

environment.freetds.MYDATABASE = 
    ''
    host = 10.0.2.100
    port = 1435
    tds version = 7.2
    '';


options = {

environment.freetds = mkOption {
Copy link
Contributor

Choose a reason for hiding this comment

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

What about programs.freetds.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah I was unsure of the correct spot myself. It certainly wasn't a service so I decided to mimic environment.wvdial.

If you think programs is the better area I'll tweak, but since this is configuration for how a library behaves that didn't quite feel right either.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok np then.

7c6f434c added a commit that referenced this pull request Aug 28, 2014
Simple nixos module to enable configuration of freetds
@7c6f434c 7c6f434c merged commit 0036f4d into NixOS:master Aug 28, 2014
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.

3 participants