Skip to content
rokokolPublic

Repository files navigation

huix

huix

My NixOS flake: a desktop with NVIDIA and CUDA, a laptop on Hyprland and a home server without a screen (´ω`♡%)

NixOS Nix Hyprland assets workarounds deviations pitfalls license eval Ask DeepWiki

Stars, pull requests, issues and commits of the huix repository

In short, this is my NixOS for a work PC, a laptop and a home server: Hyprland, nixvim and a pile of everyday applications. Some programs I keep outside the configuration, and for everything else I try to build a comfortable environment of my own

Commands

sudo nixos-rebuild switch --flake .#nixos-pc   # or .#nixos-laptop
rebuild                                        # the same alias for the current host
rebuilds                                       # the same, but packages from the Yandex mirror, when the network misbehaves

The station keeps no checkout of its own: the PC builds it and ships it over Tailscale SSH

nixos-rebuild switch --flake .#nixos-station --target-host rokokol@nixos-station --sudo --ask-sudo-password
nix build .#station-boot-test -L      # the station in virtual machines beside a router and the PC, only on request
nix build .#station-install-test -L   # its installer image in virtual machines: the refusals, then a full install

The station installs from a flash drive. The installation guide explains the image and its secrets. What the station can do is in the system layer

If the hardware changed, inspect the output of sudo nixos-generate-config --show-hardware-config on that host before you update its hardware configuration. Preserve the existing file until you have reviewed the changes

MATLAB runs through Nix too (★^O^★):

nix run gitlab:doronbehar/nix-matlab#matlab-shell
nix shell gitlab:doronbehar/nix-matlab#matlab --command /run/media/rokokol/MATHWORKS_R2025A/install

Hosts

Host Purpose
Work PC A work host for development and creative tasks
Convertible laptop A work host with a touchscreen, a pen and a tablet mode
Home server Keeps the backups, assembles the state of the hosts and serves the household services

Repository map

The configuration is split into layers, and each layer has its own README:

nixos services fonts home-manager hyprland programs nixvim scripts

Extracted into their own repositories

The pieces that outgrew the configuration live in flakes of their own: huix takes them as inputs and keeps one seam for each. The whole family, the configuration itself included, carries the huix topic

screen-shader rofi-wooordhunt virtual-media-devices skvpn archive-mount rename-case ddlc-palette ddlc-sddm-theme ddlc-hyprlock ddlc-rofi-theme ddlc.nvim ddlc-themes

A few notes

  • The light and the dark theme switch on the fly, and the choice survives reboots and rebuilds
  • What runs on the machines is in the system layer and in the services section


Felix Argail

an average nixos user :3


❄️❄️🚀 ALL YOUR PACKAGE MANAGERS ARE SHIT 🤬❄️
MUTABLE GARBAGE 🌋🚀❄️ YOU HAVE TO SWITCH ❄️ TO NIX ❄️❤️
😍 SWITCH TO NIX ❄️❄️
SWITCH TO NIX, DAMN IT 😡❄️
🚀 I NEED ❄️❄️ DECLARATIVENESS, DAMN IT 🚀❄️
THE DECLARATIVE NIX APPROACH 😍❤️🚀❄️
ALL YOUR OSES ARE IMPERATIVE 🤬💩 GARBAGE ❄️
❄️ SWITCH TO NIX

никспобеда.рф

❄️ made with declarative love · NixOS ❄️