Skip to content

NixOS and Home-Manager configuration

License

Notifications You must be signed in to change notification settings

timhourigan/nix-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nix-config

NixOS and Home-Manager configuration.

Update NixOS Configuration

  • Build:
nixos-rebuild build --flake .#<hostname>
  • Switch (usually requires sudo):
nixos-rebuild switch --flake .#<hostname>

Update Home-Manager Configuration

  • Build:
home-manager build --flake .#<username>@<hostname>
  • Switch:
home-manager switch --flake .#<username>@<hostname>

Update flake.lock file

nix flake update

Make Options

$ make
build-nixos: Build NixOS configuration
switch-nixos: Switch NixOS configuration
bootstrap-hm: Bootstrap Home-Manager configuration
build-hm: Build Home-Manager configuration
switch-hm: Switch Home-Manager configuration
format: Format source
lock: Update lock file
gc: Garbage collect
help: This menu

About

NixOS and Home-Manager configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published