-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
nixos/godns: init module #348290
base: master
Are you sure you want to change the base?
nixos/godns: init module #348290
Conversation
62ee801
to
309ce77
Compare
309ce77
to
375e072
Compare
375e072
to
625eb98
Compare
configPath = mkOption { | ||
type = types.path; | ||
description = "Path to the configuration file for godns."; | ||
example = "/etc/godns/config.json"; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should allow writing that with nixos options
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it, I would for now prefer to have this untyped, so just a generic Attribute set holding the config. Is that okay?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry @SuperSandro2000 do you mean a NixOS option specifying all available options in the configuration or a generic Attribute set or a string?
cd5e5ba
to
bd611bc
Compare
Initial implementation of the GoDNS service module. This module allows users to enable and configure the GoDNS service on their NixOS system. It includes options for specifying the GoDNS package and the path to the configuration file.
bd611bc
to
54f25d0
Compare
Added a new NixOS module for the GoDNS service, which allows users to enable and configure the GoDNS service on their NixOS system.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.