Skip to content

micharied/dotfiles

Repository files navigation

The start of my nix setup

Quick start

  • NixOS: from repo root run sudo nixos-rebuild switch --flake .#nixos.
  • macOS: first time run nix run nix-darwin -- switch --flake .#macbook, afterwards sudo darwin-rebuild switch --flake .#macbook.

Updating

nix flake update
sudo nixos-rebuild switch --flake .#nixos   # or: sudo darwin-rebuild switch --flake .#macbook

Fix "no space left on device" error during rebuild

sudo nix-env --delete-generations old --profile /nix/var/nix/profiles/system
sudo nix-collect-garbage --delete-older-than 7d

Inspired by

  1. https://nixos-and-flakes.thiscute.world/
  2. https://github.com/haglobah/nix-home/
  3. https://github.com/haglobah/mynix
  4. https://github.com/kenranunderscore/dotfiles

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages