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
Synthetica has quit [Quit: Connection closed for inactivity]
mexisme_ has joined #home-manager
vdemeester has quit [Read error: Connection reset by peer]
benkolera has quit [Read error: Connection reset by peer]
vdemeester has joined #home-manager
benkolera has joined #home-manager
greizgh has quit [Quit: greizgh]
greizgh has joined #home-manager
andi- has quit [Remote host closed the connection]
andi- has joined #home-manager
mexisme_ has quit [Ping timeout: 252 seconds]
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 248 seconds]
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 272 seconds]
mexisme_ has joined #home-manager
johnw has quit [Ping timeout: 272 seconds]
mexisme_ has quit [Ping timeout: 260 seconds]
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 272 seconds]
mexisme_ has joined #home-manager
__monty__ has joined #home-manager
mexisme_ has quit [Ping timeout: 246 seconds]
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 272 seconds]
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 260 seconds]
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 272 seconds]
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #home-manager
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 245 seconds]
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 260 seconds]
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 248 seconds]
__monty__ has quit [Quit: leaving]
hpfr has joined #home-manager
<hpfr> Still(!) getting `error: The option `home-manager.users.lh.programs.readline' defined in `/home/lh/.config/nixos/base.nix' does not exist.`
<hpfr> `sudo nix-channel --list` returns `home-manager https://github.com/rycee/home-manager/archive/master.tar.gz`
<rycee> hpfr: Use https://github.com/rycee/home-manager/archive/release-19.09.tar.gz if you are running NixOS/Nixpkgs 19.09
johnw has joined #home-manager
<hpfr> rycee: I'm not. `sudo nix-channel --list` also returns `nixos https://nixos.org/channels/nixos-unstable`
<hpfr> the rest of my home-manager config works fine, which is really strange
<rycee> How do you import the HM NixOS module into your system configuration?
<hpfr> `imports = [ /etc/nixos/hardware-configuration.nix <home-manager/nixos> ];`
<hpfr> I took a look at readline.nix, but it looks very standard, like the other modules in the programs folder in the repo
<rycee> Try changing the imports line to `imports = builtins.trace <home-manager> [ /etc/nixos/hardware-configuration.nix <home-manager/nixos> ];`
<rycee> And build your system configuration. Hopefully it'll print whatever it thinks `<home-manager>` points to.
<hpfr> rycee: never mind, it just worked! I had to do `sudo nix-channel --update`. Here's the thing though, I normally never use that and just do `sudo nixos-rebuild switch --upgrade`. I thought that flag just ran `sudo nix-channel --update` before rebuilding, but is it possible it only does the nixos channel or something? I *know* I've upgraded today with that command
<rycee> Seems to run `nix-channel --update nixos` and also channels that happen to contain a file `.update-on-nixos-rebuild`.
<rycee> I've never seen this `.update-on-nixos-rebuild` thing before :-)
<{^_^}> nixpkgs#44360 (by davidak, 1 year ago, open): Should nixos-rebuild switch --upgrade update all channels?
<hpfr> wow that's unintuitive, never would have guessed. well, I'll change my `nrsu` alias to run the two commands back to back instead of the flag version
<hpfr> rycee: do you plan to add that file for the home-manager channel?
<rycee> Yeah, I think that is best. I've only ever used `nix-channel --update` so haven't run into this.
<rycee> Don't know, I just found out about it.
<hpfr> I guess it doesn't matter for much longer if flakes are as good as it seems
<hpfr> someone flakified home-manager already, looks slick https://github.com/nrdxp/nixflk
<rycee> Yeah, seems cool :-)
<rycee> I haven't had time to look into flakes yet but hopefully it'll be helpful.
mexisme_ has joined #home-manager
mexisme_ has quit [Ping timeout: 260 seconds]