Packing Custom Fonts for NixOS

I have been using NixOS for a long time. And I am very happy with it. It is very stable and easy to configure. With NixOS, installing and configuring famous and open-source fonts is already very straightforward. Here is my font configuration in configuration.nix: fonts = { fontDir.enable = true; enableGhostscriptFonts = true; packages = with pkgs; [ cantarell-fonts hack-font inter jetbrains-mono liberation_ttf monaspace noto-fonts ubuntu_font_family (nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" "JetBrainsMono" ]; }) ]; }; Things get a little bit complicated when you want to use a custom or any commercial font that is not available in Nix packages....

April 5, 2024 · 3 min · Ali Oguzhan Yildiz
My old Quick Fire Stealth

Dual Function Keys on NixOS

Dual Function Keys is a plugin for Interception Tools. It is great for modifying keys. It allows you to configure a key for both holding and tapping actions. For example, you can configure the Caps Lock key to act as Escape when tapped and Control when held. I am using this plugin to modify my Shift keys. When tapped, they act as ( and ) respectively. When held, they act as Shift key....

November 5, 2022 · 2 min · Ali Oguzhan Yildiz

Show Missing Users in Gnome Login Screen

When you install and configure the NixOS with Gnome from minimal image, it is possible that you will not see the existing user(s) in the login screen. It expects you to type your username and password. I know it is not a big deal. But, it is annoying. This is because the user you configured in your configuration.nix file, somehow, is identified as a system user. So, it is not shown in the login screen....

August 7, 2022 · 1 min · Ali Oguzhan Yildiz