rycee changed the topic of #home-manager to: Support and discussion around the Home Manager project (https://github.com/rycee/home-manager) | Logs: https://logs.nix.samueldr.com/home-manager
drakonis has quit [Quit: ZNC 1.8.1 - https://znc.in]
superherointj has quit [Quit: Leaving]
drakonis has joined #home-manager
<drakonis> perhaps it is time to update the topic
<cole-h> cc rycee :P
khassanov[m] has joined #home-manager
<khassanov[m]> Hey guys. I'm using HM to keep the same environment on all my servers and desktops and it's awesome! But there are GUI packages I need on desktop only and unwanted on servers. How can I use one `home.nix` that can detect it runs on server
<khassanov[m]> * Hey guys. I'm using HM to keep the same environment on all my servers and desktops and it's awesome! But there are GUI packages I need on desktop only and unwanted on servers. How can I detect in `home.nix` it runs on server to skip some packages?
<khassanov[m]> * Hey guys. I'm using HM to keep the same environment on all my servers and desktops (Ubuntu and NixOS) and it's awesome! But there are GUI packages I need on desktop only and unwanted on servers. How can I detect in `home.nix` it runs on server to skip some packages?
<khassanov[m]> * Hey guys. I'm using HM to keep the same environment on all my servers and desktops (Ubuntu and NixOS) and it's awesome! But there are GUI packages I need on desktops only and unwanted on servers. How can I detect in `home.nix` it runs on server to skip some packages?
<cole-h> khassanov[m]: For the future, please don't use Matrix's "edit-previous-message" feature, because it looks really bad to us normal-IRC-users.
<khassanov[m]> Oh sorry.
<cole-h> To answer your question: you could check if a certain file exists (e.g. an empty "/server" file on your servers) and then do your branching configuration with that
<cole-h> `builtins.pathExists /asdf` would help in that case
<khassanov[m]> Nice, thanks!
<NobbZ[m]> [cole-h](https://matrix.to/#/@freenode_cole-h:matrix.org) I wasn't aware that this channel is bridged, it appears as a native matrix channel in my list, while other IRC bridged channels are displayed with a # in the list.
<cole-h> Ah, I see.
<cole-h> Well it is :D
cole-h has quit [Quit: Goodbye]
joesventek has quit [Quit: Quit]
dermetfan has joined #home-manager
joesventek has joined #home-manager
dermetfan has quit [Ping timeout: 240 seconds]
evax has quit [Ping timeout: 264 seconds]
dermetfan has joined #home-manager
evax has joined #home-manager
o1lo01ol1o has joined #home-manager
mhhf has joined #home-manager
<mhhf> hey, maybe someone can help me - i've trouble (re-)installing home-manager on nixos. after adding it to nix-channel and running `nix-shell '<home-manager>' -A install` it correctly creates a new generation, however the `home-manager` binary itself is not in the environment `which home-manager` prints `home-manager not found`. I cann access and use
<mhhf> it though a `nix-shell -p home-manager`. I'm I forgetting something trivial?
<NobbZ[m]> Do you have `programs.home-manager.enable = true` in your config?
<NobbZ[m]> Home manager Wong install itself if that option isn't set.
<mhhf> thx @NobbZ this solved my problem!
mhhf has quit [Remote host closed the connection]
joesventek_ has joined #home-manager
joesventek has quit [Read error: Connection reset by peer]
joesventek_ is now known as joesventek
o1lo01ol_ has joined #home-manager
o1lo01ol1o has quit [Read error: Connection reset by peer]
joesventek has quit [Quit: Quit]
joesventek has joined #home-manager
joesventek has quit [Quit: Quit]
joesventek has joined #home-manager
Emantor has quit [Remote host closed the connection]
Emantor has joined #home-manager
joesventek has quit [Quit: Quit]
<eyJhb> rycee: I think there might be a bug with the systemd system that home-manager uses
<eyJhb> It does not seem to reload/restart services
joesventek has joined #home-manager
<eyJhb> I have a oneshot service where I change some thing in the service, but it does not seem to restart it, or stop/start it
<eyJhb> (guessing it should stop/start it on change)
joesventek has quit [Quit: Quit]
joesventek has joined #home-manager
antifuchs_ has joined #home-manager
s1341_ has joined #home-manager
rizary_ has joined #home-manager
davidtwco_ has joined #home-manager
mog- has joined #home-manager
infinisi1 has joined #home-manager
dutchie_ has joined #home-manager
dutchie has quit [Disconnected by services]
dutchie_ is now known as dutchie
claudiii_ has joined #home-manager
claudiii has quit [Ping timeout: 272 seconds]
s1341 has quit [Ping timeout: 272 seconds]
rizary has quit [Ping timeout: 272 seconds]
antifuchs has quit [Ping timeout: 272 seconds]
mog has quit [Ping timeout: 272 seconds]
DamienCassou has quit [Ping timeout: 272 seconds]
davidtwco has quit [Ping timeout: 272 seconds]
infinisil has quit [Ping timeout: 272 seconds]
mog- is now known as mog
alexarice[m] has quit [Ping timeout: 272 seconds]
simpson has quit [Ping timeout: 272 seconds]
aterius has quit [Ping timeout: 272 seconds]
claudiii_ is now known as claudiii
antifuchs_ is now known as antifuchs
s1341_ is now known as s1341
rizary_ is now known as rizary
davidtwco_ is now known as davidtwco
immae_ has joined #home-manager
DamienCassou has joined #home-manager
immae has quit [Ping timeout: 272 seconds]
simpson has joined #home-manager
alexarice[m] has joined #home-manager
aterius has joined #home-manager
evax has quit [Ping timeout: 256 seconds]
evax has joined #home-manager
joesventek has quit [Quit: Quit]
joesventek has joined #home-manager
AlpineLlama has joined #home-manager
aleph- has joined #home-manager
<aleph-> There we go.
<NobbZ[m]> eyJhb: It doesn't (re)start or stop them for me as well, though HM prints that I have to run some commands to enable/start/stop/restart them.
<NobbZ[m]> It prints the exact commands to run, that I can then copy and paste
<aleph-> rycee: So I had a question, I'm getting an error of ` The option `home-manager.users.noah.programs.weechat' defined in `/etc/nixos/teapot/weechat.nix' does not exist.` however I'm using my own fork of home-manager with arcnmx's weechat module cherry picked onto my fork's 20.03 release branch and set to be used in my configuration.nix via `[ "${builtins.fetchTarball
<aleph-> https://github.com/church-/home-manager/tarball/custom-release}/nixos" ]` From what I can only assume, nixOS isn't grabbing my release of home-manager. So I'm curious what the easiest way to delete home manager from my store is? Remove it from imports, rebuild, delete all old generations that rely on it and then garbage collect my store before re-importing perhaps?
<pbogdan> aleph-: looking at your fork it seems you didn't add the weechat module to `modules/modules.nix`
<pbogdan> which I would assume would be required to actually expose it to consumers
<aleph-> Crap
<aleph-> That would do it...
<aleph-> pbogdan: Hmm, so despite seeing adding that to my modules/modules.nix it's still not downloading.
<aleph-> Wonder if I need to bump the version somewhere on my fork...
<aleph-> There's obviously something I'm missing that's causing there to effectively be no delta between my fork and mainline.
<NobbZ[m]> It might be cached, as you just fetch by URL, not sha.
<aleph-> Nod, that could be it too
cole-h has joined #home-manager
zmacs has joined #home-manager
<eyJhb> NobbZ[m]: It doesn't even do that for me, as far as I could see. And it should do it by itself, as far as I can see
__monty__ has joined #home-manager
<eyJhb> WAIT!
<eyJhb> When did rycee move onto nix-community
superherointj has joined #home-manager
<eyJhb> Weird, I cannot even get my fork to work - https://termbin.com/z92s
<eyJhb> __monty__: can you build on master hm-branch and nixpkgs (channels unstable branch)?
<__monty__> How recent do you need it to build? I could as of two days ago.
<eyJhb> I cannot build on the latest branch
<eyJhb> And I am unsure if it is just me
infinisi1 is now known as infinisil
<__monty__> If you can come up with a way for me to query my channel for the commit I'll check but rebuilding's not convenient for me.
joesventek has quit [Quit: Quit]
joesventek has joined #home-manager
<cole-h> eyJhb: What do you mean you can't build h-m? Do you have an error log to share?
malSet has joined #home-manager
malSet has quit [Remote host closed the connection]
malSet has joined #home-manager
malSet has quit [Quit: Quit.]
__monty__ has quit [Quit: leaving]
malSet has joined #home-manager
malSet has quit [Client Quit]
malSet has joined #home-manager
malSet has quit [Remote host closed the connection]
o1lo01ol_ has quit [Remote host closed the connection]
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 258 seconds]
dermetfan has quit [Ping timeout: 240 seconds]
dermetfan has joined #home-manager
dermetfan has quit [Ping timeout: 272 seconds]
genevino has quit [Quit: Great minds discuss ideas. Average minds discuss events. Small minds discuss people.]
genevino has joined #home-manager
genevino has quit [Remote host closed the connection]
genevino has joined #home-manager