Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.3 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.3 KB

nixos-config

This repository includes the Nix configuration for my laptop.

It includes the following:

Usage

To switch to a new system+home configuration I usually run:

nix run .#switch

Which does the following:

  • Switch to new configuration for home-manager
  • Switch to new configuration for NixOS
  • Builds configuration using nom for more insightful output.
  • Asks for sudo only when system configuration has actually changed.
  • Plings when actually switching system configuration.

This is similar to using the home-manager and nixos-rebuild tools:

$ home-manager switch --flake .
$ nixos-rebuild --flake . switch --use-remote-sudo

To update nixpkgs and others I usually do:

nix flake update