figgyc has quit [Read error: Connection reset by peer]
figgyc has joined #home-manager
<_virkony_>
How can I parametrize home-manager when installing outside of nixos? In particular I want to override pkgs to use nixos instead of nixpkgs
<NobbZ[m]>
Home-manager uses `<nixpkgs>`, you can use `nix-channel`, `-I` or `NIX_PATH` to point it to anything you want
<supersandro2000>
or you out the home.nix in place before you install it and used a pinned nixpkgs there
<_virkony_>
Yeah. I did that for now. But for this short period of time I used to perceive nixos/nixpkgs to be different. Since home-manager.nix accepts pkgs I thought I should be able to be able to pass it in
<supersandro2000>
nixos has more tests which need to pass until it advances IIRD
<supersandro2000>
IIRC
<_virkony_>
supersandro2000: I still want to benefit from easy updates that I should get on <nixos> channel whenever I run nix-channel --update
* _virkony_
still learns ropes in NixOS
<supersandro2000>
pkgs = import <nixos/nixpkgs>;
<supersandro2000>
and then packages = with pkgs; [ ... ]
<_virkony_>
supersandro2000: that doesn't affect pkgs used in home-manager when I use say programs.taskwarrior.enable = true
<supersandro2000>
symlink the nixos/nixpkgs channel to where nixpkgs would be=
<supersandro2000>
?
<supersandro2000>
otherwise you need to overwrite the packages used
<_virkony_>
supersandro2000: as I understand, that's what NobbZ[m] suggested. just configure channel <nixpkgs> to be the same as <nixos>
<_virkony_>
supersandro2000: in case if I add home-manager as a module to NixOS it seems that I can pass in pkgs and bypass default import of <nixpkgs>
<_virkony_>
supersandro2000: it looks like template for home.nix . I already have mine configured for a few days. lookingo into home-manager script and it looks like there is --option that can be passed into nix-instantiate
nf has joined #home-manager
<_virkony_>
argh that's passes in --option to it. I can't pass in --arg :(
justanotheruser has quit [Ping timeout: 250 seconds]