Skip to content

orzklv/nix

Repository files navigation

Orzklv's {Nix}

My nix configurations for all my NixOS & Apple machines.

Top Used Language Telegram Channel 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 my configurations

Home Manager configs

I do have many configurations written on my nix flake, however, for my macs, it actually detects automatically. However, for Linux machines, it's necessary to show which build to use:

# Apple Macs
nix run github:nix-community/home-maagner -- switch --flake github:orzklv/nix#sakhib@apple

# Intel Apple Macs
nix run github:nix-community/home-maagner -- switch --flake github:orzklv/nix#sakhib@old-apple

# Non NixOS Linux
nix run github:nix-community/home-maagner -- switch --flake github:orzklv/nix#sakhib@unstable

# Stable Latest NixOS
nix run github:nix-community/home-maagner -- switch --flake github:orzklv/nix#sakhib@stable

NixOS & Home Manager configs

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

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}