<pinecamp>
hello, what's the appropriate way to add overlays (by file import) to the nixpkgs used by home-manager? so far I've added `let overlays = [(import ./overlays/my-overlay.nix)]; pkgs = import <nixpkgs> { inherit overlays; };` to the top of my home.nix, however the package name is undefined when I try to refer to it in an imported home-manager file
<pinecamp>
it seems like perhaps nixpkgs is only overridden locally, and the imported files get the system nixpkgs?
<pinecamp>
I suppose I could try applying the overlay in my configuration.nix, but I'd like to set this up fully inside home-manager so that it's portable across linux and darwin systems
<infinisil>
pinecamp: If you add your overlay to the nixpkgs.overlays option, the `pkgs` argument will have them applied
<infinisil>
This works the same way in NixOS
<pinecamp>
infinisil: should this option be set in configuration.nix, or can it be set in a home-manager module?
<infinisil>
Assuming you use `home-manager switch`, just in your home.nix file
<pinecamp>
infinisil: at the moment I'm using `nixos-rebuild`, since I'm using the home-manager NixOS module
<infinisil>
Ah then you can use nixpkgs.overlays in configuration.nix
<infinisil>
It should also apply to the pkgs for home-manager
<infinisil>
pinecamp: ^
<pinecamp>
infinisil: thanks for clarifying, I'll give that at ry
<pinecamp>
a try*
claudiii_ has quit [Ping timeout: 260 seconds]
claudiii_ has joined #home-manager
steell has joined #home-manager
kenran_ has joined #home-manager
<kenran_>
Using home-manager on macOS, do any of make the .app "available" on your system somehow such that spotlight/alfred picks them up? (I don't use nix-darwin)
<kenran_>
I struggle getting this to work
<kenran_>
Ok, simple symlinks work well. It's just Alfred that doesn't like them. Spotlight seems to pick them up, so I'm settling for symlinking the ~/.nix-profile/Applications into ~/Applications
romanofski_ has quit [Ping timeout: 256 seconds]
romanofski has joined #home-manager
dermetfan has joined #home-manager
kenran_ has quit [Remote host closed the connection]
cjpbirkbeck has joined #home-manager
cjpb0 has joined #home-manager
cjpb1 has joined #home-manager
cjpbirkbeck has quit [Ping timeout: 264 seconds]
cjpb1 is now known as cjpbirkbeck
cjpb0 has quit [Ping timeout: 260 seconds]
asymptotically has joined #home-manager
cjpb0 has joined #home-manager
cjpbirkbeck has quit [Ping timeout: 260 seconds]
cjpbirkbeck has joined #home-manager
colemickens has quit [Quit: killed]
jonge[m] has quit [Quit: killed]
Ericson2314 has quit [Quit: killed]
maralorn has quit [Quit: killed]
DamienCassou has quit [Quit: killed]
dash has quit [Quit: killed]
jschievink has quit [Quit: killed]
freeman42x[m] has quit [Quit: killed]
Ox4A6F has quit [Quit: killed]
NobbZ[m] has quit [Quit: killed]
rschulman has quit [Quit: killed]
hpfr[m] has quit [Quit: killed]
ohhaimark[m] has quit [Quit: killed]
ZerataX has quit [Quit: killed]
siraben has quit [Quit: killed]
Notkea[m] has quit [Quit: killed]
Dandellion has quit [Quit: killed]
toraritte has quit [Quit: killed]
JJJollyjim has quit [Quit: killed]
enick_806 has quit [Quit: killed]
khassanov[m] has quit [Quit: killed]
g[m] has quit [Quit: killed]
theduke has quit [Quit: killed]
AsbjrnOlling[m] has quit [Quit: killed]
allisonf has quit [Quit: killed]
nicolas[m] has quit [Quit: killed]
aterius has quit [Quit: killed]
rycee has quit [Quit: killed]
benkolera has quit [Quit: killed]
Philipp[m]1 has quit [Quit: killed]
alexarice[m] has quit [Quit: killed]
sparogy has quit [Quit: killed]
cjpb0 has quit [Ping timeout: 256 seconds]
pinecamp has quit [Remote host closed the connection]
<svrana>
i briefly tried to get autocutsel working as a system user service. It failed b/c it couldn't find a display. So, I removed the service definition from home.nix. After this when I switch, home-manager reports that the autocutsel.service is degraded and that it cannot be found (not-found under the LOAD column). How would I go about removing this systemd user service so home-manager no longer warns about