nix/Readme.md

4.2 KiB

Dmitry 🌊 NixOS, Home Manager and Nix-on-Droid configurations.

Screenshots.

Newest first.

Screenshot 1 + Android
Wallpaper link
Screenshot 2 + Android
Wallpaper link
Screenshot 3 Wallpaper link
Screenshot 4 Wallpaper link

My current wallpaper

Color theming based on wallpaper thanks to Stylix.

Discovering my configuration.

Even tho I've tried to document everything I can in a dum-dum way, I still highly recommend you to learn the very basics of Nix language. Start from the Flake file and follow the comments. If you have any questions, get in touch using Telegram or Email.

Please tell me if you find any undocumented parts.

Configuration highlights.

  • Keyd allows you to have QMK-like keyboard remaps. Killer-feature is the ability to have remaps per-application. I have pretty common remaps like CapsLock to Ctrl/Esc combo, Right Shift to Backspace, Backspace to Delete and overlays for System/Windows/Media/Application controls as well as Macros.
  • NixOS Containers (nspawn). Containers are great. I LOVE containers! Containers! Containers! Containers! Containers! Containers! Containers! Containers! Containers! Containers! Containers! Containers! Here is how I add containers to the host, here is the global configuration and here are all the containers.
  • NixOnDroid can be used to set up your environment inside the Termux app on Android. It also gives you access to all the Nixpkgs binaries for Arm. Configuration can be found here, but you also need to add the definition to the root flake.nix (nixOnDroidConfigurations.default). Here are the docs.
  • Stylix can be used to change colors for the whole system based on current wallpaper. Example usages: Sway, fuzzel and Tmux.
  • Signed auto-updates. Updates are pulled every hour and require the last commit to be signed with my signature.

Keyboard layouts.

Yellow are modifier keys, they enable layers when held. Green ones are just modified keys.

Default
Alternative Keys
Sway keys
Per-application controls Firefox:

Jetbrains:

Nautilus:

Tmux:
Extra numbers
Media Controls
System controls

Link / Source of the tool I used to draw the images.