❄️ | *NIX configuration flake hosted on GitHub. github:orzklv/nix
  • Nix 91.4%
  • Shell 4.2%
  • Python 3.8%
  • Just 0.6%
Find a file
2026-02-15 05:34:29 +05:00
.github chore: remove github runners, 3000 minutes ain't enough 2026-01-15 04:21:35 +05:00
checks/pre-commit-check chore: working checks + devShells 2026-02-02 03:04:43 +05:00
homes chore: target wise home-configurations 2026-02-02 04:39:19 +05:00
lib chore: working checks + devShells 2026-02-02 03:04:43 +05:00
modules chore: enable linux-builder for mac 2026-02-10 03:03:21 +05:00
overlays chore: working checks + devShells 2026-02-02 03:04:43 +05:00
packages chore: overlays and packages complte 2026-02-02 01:16:37 +05:00
secrets chore: setup remote builders for darwin 2026-02-09 19:23:54 +05:00
shells/default chore: working checks + devShells 2026-02-02 03:04:43 +05:00
systems fix: case insensivity of macos 2026-02-02 04:27:09 +05:00
.envrc chore: adding direnv 2025-04-22 08:58:15 +05:00
.gitignore chore: pre-commit hook for almost everything 2025-10-19 08:20:05 +05:00
.sops.yaml chore: more retarded config for life 2025-06-28 21:38:51 +05:00
flake.lock flake.lock: Update 2026-02-15 00:32:17 +00:00
flake.nix chore: remove list of self declared modules 2026-02-06 17:40:29 +05:00
justfile chore: use latest zed-editor 2026-01-20 01:35:14 +05:00
license initial files 2023-10-07 16:18:38 +05:00
readme.md fix: remove deleted channel badge 2025-06-14 21:11:17 +05:00
repl.nix chore: moving to nixfmt 2026-01-15 03:35:40 +05:00
statix.toml chore: huge refactor 2025-03-04 20:15:05 +05:00

Orzklv's {Nix}

My nix configurations for all my NixOS & Apple machines.

Top Used Language Test CI

About

In this repository I keep all my configurations and dot files to maintain my healthy development environment for any case. It contains configurations for shell and environments for any linux distro and macos. It comes with installer to shorten my time spending on set up.

Everytime I installed my dev env manually by myself, I started feeling like a garbage myself... So here you are!

Features

  • Syntax Highlighting
  • Auto Completions
  • Auto Suggestions
  • Rust made replacements
  • Key configurations
  • Software configurations
  • Selfmade scripts

Install Nix

Before installing my configuration, we need to get nix ready in our machine. We could have used official installer, but due to many reasons, I prefer going with installer by determinate.systems.

curl --proto '=https' --tlsv1.2 -sSf -L \
  https://install.determinate.systems/nix | sh -s -- install

Install Homebrew (if it's nix-darwin) configurations

Basically, we will go with official way of installing homebrew to get nix-darwin configurations working:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install my configurations

NixOS configurations

I've written ready configurations for my machines that are using NixOS, so here you are:

# Station (Home Gaming)
sudo nixos-rebuild switch --flake github:orzklv/nix#Guts --upgrade

# Experimental (Work PC)
sudo nixos-rebuild switch --flake github:orzklv/nix#Experimental --upgrade

If you're planning to do clean install within Nix installer iso, do this:

# Clone the repository
git clone https://github.com/orzklv/nix.git config

# Partition disks regarding to configuration
# Replace ? with available hostname
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode disko ./config/nixos/?/disk-configuration.nix

# Install using flake configurations on top of partitioned disks
# Replace ? with available hostname
sudo nixos-install --flake ./config#?

Darwin configurations

The same actually goes for my Darwin machines as well, everything is ready for setup:

# MacBook Pro
nix run nix-darwin -- switch --flake github:orzklv/nix#Sokhibjons-MacBook-Pro # or
darwin-rebuild switch --flake github:orzklv/nix#Sokhibjons-MacBook-Pro

# Mac Studio
nix run nix-darwin -- switch --flake github:orzklv/nix#Sokhibjons-Mac-Studio # or
darwin-rebuild switch --flake github:orzklv/nix#Sokhibjons-Mac-Studio

If you hit GitHub's rate limit, put your GitHub token in ~/.config/nix/nix.conf file like this:

access-tokens = github.com=<YOUR_TOKEN>

Thanks

  • Template - Started with this template
  • Example - Learned from his configurations
  • Home Manager - Simplyifying my life and avoid frustrations
  • Nix - Masterpiece of package management

License

This project is licensed under the MIT License - see the LICENSE file for details.

Orzklv's {Nix}