Build ISO: nix build .#nixosConfigurations.iso.config.system.build.isoImage
Installation guide: https://nixos.org/manual/nixos/unstable/#sec-installation-manual
- Clone repo
git clone https://github.com/imcquee/nix-home.git
-
Get tailscale key and replace 'tskey-examplekeyhere' in tailscale.nix
-
Rebuild host
sudo nixos-rebuild switch --flake /home/$USER/nix-home/#dev
- On subsequent runs, just run rebuild e.g. :
rebuild dev
- Install Nix
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
- Setup Git (if not already installed)
nix-shell -p git
- Clone repo
git clone https://github.com/imcquee/nix-home.git
- Rebuild host
nix run nix-darwin -- switch --flake .#MBP2018
# or
nix run nix-darwin -- switch --flake .#mini
- On subsequent runs, just run rebuild e.g. :
rebuild MBP2018
- Install Nix
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
- Setup Home-Manger and Git (if not already installed)
nix-shell -p git home-manager
- Clone repo
git clone https://github.com/imcquee/nix-home.git
- Setup Home-Manager
home-manager switch --flake /home/$USER/nix-home#universal
-
On subsequent runs, just run rebuild e.g. :
rebuild universal
-
Install tailscale
curl -fsSL https://tailscale.com/install.sh | sh
- nix flake update
gh auth login
gh auth setup-git
Delete stale paths: nix-collect-garbage
Delete stale paths and generations older than x days: nix-collect-garbage --delete-older-than 30d
After setting up tailscale, immediately run
sudo chattr +i /etc/resolv.conf
To prevent Windows from overwriting the dns config
sudo chattr -i /etc/resolv.conf
Reverses this
- Make public
- Migrate Neovim
- Fix copy paste in neovim
- Add DE option
- Add Non-Nixos
- Build custom installer
- Migrate Darwin over
- Migrate to Nix managed Fish
- Test oneshot tailscale implementation
- Add Github actions integration with cachix
- Add Stylix config
- Build custom bootstrap script for Non-Nixos environments
- Fix systemd services