Something went wrong. Try again.
configurations for my servers and desktops
nix nixos flake dots dotfiles
Something went wrong. Try again.
12345678910111213141516171819202122# update flakeup: nix flake update --flake . --commit-lock-file# switch to flakesw: #!/usr/bin/env bash if [[ "$(uname -s)" == "Darwin" ]]; then echo "detected darwin, using nh darwin..." nix run nixpkgs#nh darwin switch . elif [[ "$(uname -s)" == "Linux" ]]; then echo "detected linux, using nh os..." nix run nixpkgs#nh os switch . else echo "unsupported os" exit 1 fi# garbage collection/cleanupgc: nix run nixpkgs#nh clean all