Skip to content

Sam-Hobson/nix-config

Repository files navigation

This is my nix config!

Make sure to have nix and home-manager installed.

To get started, clone my .dotfiles and nix-config configurations:

nix-shell -p git --run '
  cd ~ &&
  git clone [email protected]:Sam-Hobson/.dotfiles.git &&
  git clone [email protected]:Sam-Hobson/nix-config.git
'

To use the nix configuration, do:

cd ~/nix-config/

sudo nixos-rebuild switch --upgrade --flake .

nix flake update

home-manager switch --flake .

Clean up old nix builds

home-manager expire-generations "now"

nix-collect-garbage -d

nix store optimise

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages