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'.

On Sun, Nov 29, 2015 at 5:12 PM, Игорь Пашев <pashev.i...@gmail.com> wrote:

> Hi all.
>
> Is there a way to exclude some NixOS module from evaluation
> and put my module instead? That is, NixOS defines services.foo
> and I want to use my own service.foo.
>
> I'm not sure it's a good idea, at least I can use a namespace
> (service.my.foo)
> or give my service a fancy name.
> _______________________________________________
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to