ryan4yin / nixos-and-flakes-book

:hammer_and_wrench: :heart: Want to know NixOS & Flakes in detail? Looking for a beginner-friendly tutorial? Then you've come to the right place! 想要学习使用 NixOS 与 Flakes 吗?在寻找一份新手友好的教程?那你可来对地方了!

Home Page:https://nixos-and-flakes.thiscute.world

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to add and manage scripts

RashiqAzhan opened this issue · comments

Is your feature request related to a problem? Please describe.
I'm always frustrated when letters BEcome like this as I type caps using the caps lock instead of shift. MAybe if something existed like a script that would fix this issue...

Describe the solution you'd like
IN my search, I've found this but I do not know how to properly include a script using that runs after every login using NIx flakes or the config file. I would like an entry in the website that discusses the approaches to achieve this, pros and cons, and best practices.

Describe alternatives you've considered
I wish someone would fix this for real instead of having to resort to this. This is why linux will never takeover take the throne, pls don't shoot me.

Additional context
LOve your work. YOU've made my journey to NixOS finally bearable after all these years.

ArchLinux 's Wiki also mentioned this problem & its workaround: Switching state immediately when Caps Lock is pressed - ArchLinux Wiki

NixOS provides some options related to xkb: xkb - NixOS Options.

I've come up with some solutions, but it's relatively troublesome.
I suggest you post the information I provide, together with your question, to NixOS Discourse and NixOS subreddit for help. There are many active users there, and maybe someone has solved this problem.