Skip to content

bornav/.flake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bootstrap commands

sudo su
nix-env -iA nixos.git
git clone <url> /mnt/<path>
nixos-install --flake .#<host>  || in my case username
reboot

after first login

sudo rm -r /etc/nixos/configuration.nix / move build to desired location

rebuild config

sudo nixos-rebuild switch --flake ~/.flake/#bocmo

update flage dependancies

nix flake update sudo nixos-rebuild switch --flake ~/.flake/#vallium efibootmgr -c -d /dev/nvme0n1p4 -p 1 -L NixOS-boot -l '\EFI\NixOS-boot\grubx64.efi' sudo nixos-rebuild switch --impure --flake ~/.flake/#vallium

bootstrap TODO

curl -s https://github.com/raw/bornav/.flake/main/deployment.sh | bash

curl -L https://github.com/raw/bornav/.flake/main/deployment.sh | sh -s -- --daemon --yes

nix run --extra-experimental-features nix-command --extra-experimental-features flakes github:nix-community/nixos-anywhere -- --flake ~/.flake#dockeropen --vm-test

nix run github:nix-community/nixos-anywhere -- --flake ~/.flake#dockeropen root@10.2.11.33

nix run github:nix-community/nixos-anywhere -- --flake ~/.flake#dockeropen --arg disks '[ "/dev/sda" ]' root@10.2.11.33 #test

rebuild remote from local

sudo nixos-rebuild switch --flake ~/.flake#dockeropen --target-host nixbuilder_dockeropen

build from remote host only

sudo nixos-rebuild switch --flake ~/.flake#$flake_name --builders "ssh://nixbuilder_dockeropen" --build-host nixbuilder_dockeropen

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published