Skip to content

arunoruto/flake

Repository files navigation

Mirza's Nix Config

NixOS logo

NixOS, nix-darwin, and Home Manager configurations managed as a single flake.

Quick Start

git clone https://github.com/arunoruto/flake ~/.config/flake

NixOS

sudo nixos-rebuild switch --flake ~/.config/flake#<device-name> --accept-flake-config

Darwin

sudo nix run nix-darwin/nix-darwin-<version>#darwin-rebuild -- switch

Replace <version> with the nix-darwin release (e.g., 25.11).

Home Manager

home-manager switch --flake ~/.config/flake#<username> --accept-flake-config

Standalone (non-NixOS)

nix --experimental-features 'nix-command flakes' --accept-flake-config run nixpkgs#home-manager -- switch --flake ~/.config/flake#<username>

Some shells (e.g. zsh) require quoting the flake argument: --flake './#<username>'

Documentation

Full documentation site: nix build .#docs or mdbook serve in the repo root.

About

My nix config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors