quinn has quit [Read error: Connection reset by peer]
quinn has joined #home-manager
cjpbirkbeck has quit [Quit: cjpbirkbeck]
cjpbirkbeck has joined #home-manager
cjpbirkbeck has quit [Remote host closed the connection]
coco has quit [Quit: WeeChat 2.7.1]
hmpffff has joined #home-manager
hmpffff_ has quit [Ping timeout: 272 seconds]
coco has joined #home-manager
__monty__ has joined #home-manager
asymptotically has joined #home-manager
hmpffff_ has joined #home-manager
hmpffff has quit [Ping timeout: 256 seconds]
__monty_1 has joined #home-manager
__monty__ has quit [Ping timeout: 272 seconds]
malSet has joined #home-manager
__monty_1 has quit [Read error: Connection reset by peer]
__monty__ has joined #home-manager
__monty__ has quit [Ping timeout: 260 seconds]
__monty__ has joined #home-manager
coco has quit [Quit: WeeChat 2.7.1]
coco has joined #home-manager
coco has quit [Ping timeout: 265 seconds]
coco has joined #home-manager
__monty__ has quit [Ping timeout: 258 seconds]
__monty__ has joined #home-manager
__monty__ has quit [Ping timeout: 264 seconds]
<hyperfekt>
i somehow broke my nixos-rebuild with home-manager :/
<hyperfekt>
why and where is a config from home-manager sourced even if the module isn't imported??
<hyperfekt>
despite not importing the module anymore i get "getting status of '/nix/store/84ng6zgpb0ir4j1hdm7ihsrnbx4zgi2c-home-manager-files/.config/nixpkgs/config.nix': No such file or directory". my store got emptied because i had to restore from backup (which of course doesn't include the store).
<pbogdan>
no ideas off top of my head but maybe --show-trace can shed some light?
<hyperfekt>
hm, turns out i forgot to use sudo. so does nixos-rebuild without sudo try to switch a user generation or something? very strange still
<immae>
hyperfekt: look at your ~/.config/nixpkgs/config.nix file, it’s a (broken) symlink
<immae>
When you run a nix command this file is read and in your case since the symlink is broken he’s unhappy. When you use sudo he tries a different file
<immae>
(if the file is absent it’s not a problem, I think only the fact that it’s a symlink and it’s broken is the issue)
<hyperfekt>
immae: perfect, that's it. i added that file to make sure i can buil unfree packages, but since nixos-install (i think) doesn't invoke home-manager it's missing then
<immae>
good
<hyperfekt>
immae++
<{^_^}>
immae's karma got increased to 17.00000000000000004
<hyperfekt>
nice
<immae>
I agree that he should just consider it as missing (many languages consider a broken symlink as absent), maybe a bug somewhere in the code
<immae>
Ha ha non-integer karma
<asymptotically>
iee 753.9999999999989 floats are the best data type to use for karma :D
__monty__ has joined #home-manager
<hyperfekt>
is there any way to tell home-manager to copy a file instead of linking it to avoid this issue?
<hyperfekt>
alternatively, maybe the home-manager activation script should be part of the system activation script when used as a module.
<ldlework>
hyperfekt: in an activation step you can do anything
* ldlework
makes rainbow gesture
<hyperfekt>
wait isn't that already supposed to happen?
<hyperfekt>
rycee: is it expected that after a nixos-install with home-manager as a NixOS module nothing is in place after the first boot?
<hyperfekt>
oh nvm all of this is really just an instance of #948
quinn has quit [Read error: Connection reset by peer]
quinn has joined #home-manager
cole-h has quit [Quit: Goodbye]
cole-h has joined #home-manager
cjpbirkbeck has joined #home-manager
MmeQuignon has joined #home-manager
MmeQuignon has quit [Quit: WeeChat 2.8]
MmeQuignon has joined #home-manager
bdju has joined #home-manager
<bdju>
can't update since p7zip was marked insecure. how on earth do I just remove it? commenting out or removing the line didn't work. this is very unfriendly
<bdju>
had to find all things depending on it. in addition to multibootusb I had dtrx
bdju has left #home-manager [#home-manager]
<rycee>
infinisil: I don't particularly know. But something like offering a set of partial modules having only a well supported and stable set of options defined. Then one could import these and implement the config part in NixOS, nix-darwin, and HM.
<rycee>
RFC 42 would be quite handy for this, I imagine.