My attempt to automate personal infrastructure using nix
% curl https://raw.githubusercontent.com/aaqaishtyaq/home_ops/master/install.sh | bash
cd "${HOME}/repos/github.com/aaqaishtyaq/home_ops"
# nix package manager and home-manager
nix build --experimental-features 'nix-command flakes' '.#linux-server'
nix build --experimental-features 'nix-command flakes' '.#ubuntu-server'
# nixos and home-manager
sudo nixos-rebuild switch --flake '.#pix'
Note: This is highly experimental
To unlock secrets file...
$ git-crypt unlock
Go to Dotfiles Repo for stable
configurations.