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
steell has quit [Remote host closed the connection]
cole-h has quit [Quit: Goodbye]
cole-h has joined #home-manager
cole-h has quit [Quit: Goodbye]
cole-h has joined #home-manager
ElQuique has joined #home-manager
<ElQuique> Hi! I hope this is the proper place to ask this. I'm trying to use home-manager to configure the less pager. I couldn't find an option related to this in the options (`man home-configuration.nix`). But I did found it in the NixOS options (https://search.nixos.org/options?query=less&from=0&size=15&sort=relevance&channel=20.03). How can I use this on
<ElQuique> my `home.nix` config file?
ElQuique has left #home-manager [#home-manager]
ElQuique has joined #home-manager
kenran has joined #home-manager
kenran has quit [Ping timeout: 240 seconds]
ElQuique has quit [Ping timeout: 245 seconds]
kenran has joined #home-manager
kenran has quit [Ping timeout: 240 seconds]
cole-h has quit [Ping timeout: 258 seconds]
cole-h has joined #home-manager
kenran has joined #home-manager
kenran has quit [Ping timeout: 265 seconds]
kenran has joined #home-manager
cole-h has quit [Quit: Goodbye]
s1341 has quit [Read error: Connection reset by peer]
bradparker has quit [Read error: Connection reset by peer]
bradparker has joined #home-manager
vdemeester has quit [Ping timeout: 272 seconds]
vdemeester has joined #home-manager
s1341 has joined #home-manager
stephank has joined #home-manager
ohhaimark[m] has joined #home-manager
superherointj has joined #home-manager
<ohhaimark[m]> Can someone help tell me what I am doing wrong here
<ohhaimark[m]> home-manager stacktrace: https://pastebin.com/VFTTEmET
<NobbZ[m]> ElQuique: You can not use nixOS modules in home manager.
<ohhaimark[m]> Oh, I see.
<ohhaimark[m]> Thanks.
<NobbZ[m]> ohhaimark:
<NobbZ[m]> * ohhaimark: Sorry, I can't see anything obvious in your stack traces that would point me to any of your files. Can't help you
<ohhaimark[m]> Oh, whoops, I didn't see that you weren't replying to me initially. Thanks anyway.
ElQuique has joined #home-manager
<NobbZ[m]> Though it seems to be related to sway somehow.
<NobbZ[m]> To be more exact, it seems to happen when it tries to evaluate what it shall write to the autostart it seems
<ElQuique> Thanks NobbZ! So everything under search.nixos.org/options is a module?
<NobbZ[m]> Does your config build then?
<NobbZ[m]> ElQuique: Everything listed there is an option, which gets defined through modules.
<ohhaimark[m]> NobbZ: yeah, it builds.
<NobbZ[m]> nixOS has modules that can be used in the `configuration.nix`, home-manager provides a separate set of modules that can be used in `home.nix`. NixOS modules are mostly targeted at system configuration while HMs are targeted to user space configuration.
<NobbZ[m]> ohhaimark: Then you need to find out what exactly wents wrong in creating that. I do not use sway, not i3. Therefore I'm probably not of any more help for you.
<ohhaimark[m]> @NobbZ Yeah, It looks like this is more of a nix types and submodule issue then a i3/sway issue, but thanks for getting me this far.
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
<NobbZ[m]> your `window-manager.startupPrograms` what kind of data do you throw in there?
<NobbZ[m]> Where do you add values to it?
<ohhaimark[m]> List of strings. I set it in `default.nix` and `xresources.nix`.
<ohhaimark[m]> But even when I comment out it all, it gives the same error.
<NobbZ[m]> I'm not sure if you want `window-manager` to be a `submodule`, IIRC that means that you can do `window-manager.<name>.startupPrograms`, you probably want to have `window-manager.startupPrograms = { type = listOf string; };`
<ohhaimark[m]> @NobbZ It appears that that was it. Thank you.
superherointj has quit [Quit: Leaving]
kenran has quit [Ping timeout: 240 seconds]
ElQuique has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #home-manager
kenran has joined #home-manager
kenran has quit [Ping timeout: 240 seconds]
cole-h has joined #home-manager
kenran has joined #home-manager
kenran has quit [Ping timeout: 258 seconds]
cole-h has quit [Quit: Goodbye]
kenran has joined #home-manager
kenran has quit [Ping timeout: 240 seconds]
quinn has joined #home-manager
o1lo01ol1o has quit [Remote host closed the connection]
tdeo has quit [Ping timeout: 260 seconds]
kenran has joined #home-manager
tdeo has joined #home-manager
kenran has quit [Ping timeout: 246 seconds]