[Nix-dev] Replace module options

Игорь Пашев pashev.igor at gmail.com
Sun Nov 29 17:29:28 CET 2015


2015-11-29 19:26 GMT+03:00 Joel Moberg <joel.moberg at gmail.com>:
> I think every service have a enable attribute, you should be able to set
> this to false or just override that service with another one (example
> config.systemd.services.alsa-store.enable=false). nix-repl is useful to
> inspect what your config looks like, you can invoke it with nix-repl
> '<nixpkgs/nixos>' and investigate the attribute 'config'.


I tried to override the "enable" option a well. And it said
"The option `services.foo.enable' in <one file> is already declared in
<another file>" ¯\_(ツ)_/¯


More information about the nix-dev mailing list