Files
nix-config/README.md

521 B

NixOS Configuration

Here is my global NixOS configuration

Install

Check if Nix version is >= 2.4

nix --version

Allow experimental flakes

export NIX_CONFIG="experimental-features = nix-command flakes"

Clone this repo

git clone https://github.com/eRgo35/nixos ~/.dots
cd ~/.dots

Usage

Apply system configuration

sudo nixos-rebuild switch --flake .#hostname

Apply user configuration

home-manager switch --flake .#mike@zion