Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 939 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 939 Bytes

nixos-config

My NixOS config

Usage

Update flake inputs

nix flake update --commit-lock-file

Switch system

nixos-rebuild switch --use-remote-sudo --flake <path-to-git-repo>

Switch home

home-manager switch --flake <path-to-git-repo>

One liner (update inputs and switch home and system)

pushd <path-to-git-repo> && nix flake update --commit-lock-file && nixos-rebuild switch --use-remote-sudo --flake .; home-manager switch --flake . && popd

Inputs

  • nixos-unstable - Unstable channel
  • nixos-unstable-small - Unstable small channel, used for broken packages that have been fixed when unstable is blocked
  • nixos-unstable-lagging - Unstable channel, fixed to a particular commit, used for recently broken packages
  • home-manager