Skip to content

bobvanderlinden/nixos-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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