My Nix Infra
nix nixos
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

update readme

ydcjeff 9ba27341 2f1afc54

+3 -5
+1
README.md
··· 10 10 11 11 - git 12 12 - make 13 + - `git clone https://codeberg.org/ydcjeff/dotfiles .dotfiles` 13 14 14 15 NixOS setup: 15 16
+2 -5
scripts/nixos-install.sh
··· 21 21 # 1. Boot into NixOS installer, change passwd of current user 22 22 passwd "$(whoami)" 23 23 24 - # 2. Clone the repo 25 - git clone https://codeberg.org/ydcjeff/dotfiles.git || true 26 - 27 - # 3. Check disk-config.nix 24 + # 2. Check disk-config.nix 28 25 read -rp "Checked ./hosts/$1/disk-config.nix? (y/n): " ans 29 26 30 27 if [[ "$ans" == "n" ]]; then ··· 35 32 echo -n "$pw" >/tmp/key 36 33 fi 37 34 38 - # 4. Final NixOS install 35 + # 3. Final NixOS install 39 36 if [[ -f "$DOTFILES/hosts/$1/hardware-configuration.nix" ]]; then 40 37 nix run --extra-experimental-features 'nix-command flakes' \ 41 38 github:nix-community/nixos-anywhere -- --flake .\#"$1"