<rycee>
linarcx: Try changing `session=${1:-${cfg.defaultSession}}` to `session=''${1:-${cfg.defaultSession}}`
pie__ has joined #home-manager
pie_ has quit [Remote host closed the connection]
linarcx has joined #home-manager
<linarcx>
rycee: Thank you. it solved. and i want to use `xinitrc` file locally for test. but i get this error: `error: The option `xinitrc' defined in `/home/linarcx/.config/nixpkgs/home.nix' does not exist.`
<rycee>
linarcx: Hmm. Using the same code as in the gist?
<linarcx>
rycee: I change it a little. let me update it.
<linarcx>
I add numlockx in .xinitrc, but assume user not installed it. what we can do? Should i force user to install numlockx before? If yes, what is the solution?
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #home-manager
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #home-manager
boomshroom has joined #home-manager
<boomshroom>
Hello!
<boomshroom>
Can I still install packages declaratively with home-manager, or do I have to manually edit the configuration every time I want to install a package?
iceypoi has joined #home-manager
<rycee>
boomshroom: You can still use `nix-env -iA` if you want.
<rycee>
linarcx: Refer directly to the binary, the user should not be forced to install a package they're not expected to run themselves.
<linarcx>
rycee: No. i mean imagin a user enable option-A, and that option need to install a package before. what should we do in these situations?
linarcx has quit [Quit: WeeChat 2.4]
<pie__>
so like services i guess?
<pie__>
(idk)
<rycee>
linarcx: I don't think I follow what you mean by "before", before what? I don't know anything about numlockx. Is it something you run? Is it something you source into the xinitrc file? Or something else? I saw it is in Nixpkgs so it would be best to refer directly to its derivation output, if possible.
iceypoi has quit [Quit: leaving]
iceypoi has joined #home-manager
<iceypoi>
rycee: would there be interest around accepting a pr for weechat much like there is irssi right now?
<rycee>
iceypoi: I suppose, I use neither program but I assume there are others that would be happy to have a weechat module 😃
<iceypoi>
rycee: cool, I'll look into making a module then. It's maybe a bit more work, but cleaner than just managing the raw config file