<wolfman154>
rycee: are you there? I need some help with a rebuild problem
<wolfman154>
When I did a rebuild xmonad and terminator finally started working which is great, but my custom keyboard layout is not loading, I have a custom keyboard layout called keymap.nix which is a sub module to configuration.nix, do I need to create my custom keyboard layout in home-manager instead for it to work?
<NickHu>
Does anyone here know what StatusNotifierItem is? I can't make sense of it other than it's some sort of successor to existing systray stuff
linarcx has quit [Read error: Connection reset by peer]
linarcx has joined #home-manager
linarcx has quit [Remote host closed the connection]
thePirateKing has joined #home-manager
<NickHu>
Would anyone here be willing to help me write a module for https://github.com/gauteh/gmailieer? I'm not sure how to proceed because its configuration seems very interactive
linarcx has joined #home-manager
linarcx has quit [Quit: WeeChat 2.4]
pie___ has joined #home-manager
pie__ has quit [Remote host closed the connection]
linarcx has joined #home-manager
wolfman154 has joined #home-manager
<wolfman154>
rycee: I’m back on have you checked the 4 links?
<rycee>
Nick Hu: But it seems it wants it inside the Maildir?
<NickHu>
rycee: Not only that, but it stores last modified date in the same file
<NickHu>
Here is the contents of my .gmailieer.json file: {"last_historyId": 4411444, "lastmod": 64495, "replace_slash_with_dot": false, "account": "me@nickhu.co.uk", "timeout": 0, "drop_non_existing_label": false, "ignore_tags": ["new"], "ignore_remote_labels": []}
<NickHu>
Also the oauth authentication is interactive and it generates a credential file which is updated every time the program is run
<rycee>
Nick Hu: Seems you'd be better off using mbsync together with notmuch :-)
<rycee>
wolfman154: What is the issue you are having with the files?
<NickHu>
rycee: The benefit of this program is that it uses the gmail api so it can do bidirectional sync between notmuch tags and gmail labels
<rycee>
Nick Hu: Ok, that sounds useful. Well, I guess the simplest would be to generate the commands necessary to set the configuration options in an activation script block.
<rycee>
But I guess a user need to run `gmi init` before these commands would work?
<NickHu>
But if it writes a configuration file, that's going to symlink to the read-only nix store, so then the synchronisation state won't get updated
<NickHu>
I guess it ought to be a simple thing for them to implement on their end
<NickHu>
I'm not sure how you can make the google oauth flow non-interactive
<rycee>
No, I meant to insert commands like `gmi set whatever` in the activation script. So it'll do its thing at activation time, and can write whatever it needs in your home directory.
<rycee>
But yeah, if it's possible then a declarative configuration file would be the best.
<wolfman154>
I guess something in home-manager is overwriting, configuration.nix so I have to disable it?
<NickHu>
But in principle home-manager doesn't need to call `gmi set` to perform the configuration; could just write the json manually
<wolfman154>
rycee: so that my custom keyboard layout will hopefully work
<wolfman154>
rycee: oh and to answer your question, the rebuild works: xmonad and terminator loads, but my custom keyboard layout does not load when I reboot, so hopefully the link for issue 543 will help fix it, maybe something was overridden?
<rycee>
wolfman154: Yeah, sounds likely that the setxkbmap overwriting your configuration.
<wolfman154>
rycee: ok
<wolfman154>
rycee++
linarcx has quit [Quit: WeeChat 2.4]
wolfman154 has quit [Remote host closed the connection]