oddlama/nix-config

Question: Having `wired` as a service

Closed this issue · 4 comments

Hi! I saw that you're using wired as a service.

May I ask how you're doing it?
The README of wired-notify doesn't show how to use the service-variant of wired if you're using flakes and home-manager as a nixos-module.

The file you linked is all of the configuration you need. The only other thing is that you have to add the provided overlay and home-manager module to your config:

nixpkgs.overlays = [
  inputs.wired-notify.overlays.default
];

home-manager.sharedModules = [
    inputs.wired-notify.homeManagerModules.default
];

may I ask, if you can explain/give me an example how and where I should do this?

nixpkgs.overlays = [
  inputs.wired-notify.overlays.defaul
];

I'm still not really familiar with nix (+ flakes) ecosystem.

More context

Hint: You don't need to go this further if you don't have time/don't want to do
it. Just close this issue then :)

So here is my flake. May I ask what you would change to add the overlay from
wired to nixpkgs?

Basically at the top level of your configuration.nix (or any other file that is part of your nixos config). It's this option that is being set by that.

If this doesn't fully answer your question I would highly recommend you join the Nix/NixOS Matrix server, there are always many people online who can help you understand better.

Ok, thank you!