No description
Find a file
2026-05-30 19:09:18 -04:00
modules upgrade 2026-05-30 19:09:18 -04:00
.gitattributes use lfs incase I add images 2026-04-26 18:46:13 -04:00
.gitignore Initial commit 2026-03-20 21:38:06 +00:00
flake.lock upgrade 2026-05-30 19:09:18 -04:00
flake.nix switch grub theme 2026-05-14 21:45:33 -04:00
README.md update packages and add some useful commands 2026-04-16 13:07:54 -04:00

nix-config

This repo is for managing nix configuration and bash profiles.

SETUP

  1. Clone this repo to where you want it
  2. On first install copy /etc/nixos/hardare-configuration.nix to host hardware.nix flake
  3. sudo NIX_CONFIG="experimental-features = nix-command flakes" nixos-rebuild test --flake .#laptop - first run to enable flakes
  4. sudo nixos-rebuild test --flake .#laptop to validate everything is correct
  5. Run sudo nixos-rebuild switch --flake .#laptop -> change laptop to the correct config

Useful commands

nix-shell -p git
nix flake update
nix run nixpkgs#htop
nix shell nixpkgs#git nixpkgs#vim
nix-shell -p python3
sudo nix-collect-garbage --delete-older-than 7d
sudo nix-store --optimise
nix path-info -Sh /run/current-system
sudo nix-env --list-generations --profile /nix/var/nix/profiles/system
sudo nixos-rebuild switch --rollback
nix search nixpkgs firefox
nix-collect-garbage