nixos/README.md
2022-01-17 11:23:55 +01:00

691 B

nixos

This repository contains my configuration for my Nixos systems. I don't provide any garantuees that it will work on other systems. In addition some of the scripts required for installation will destroy your data when used.

Base installation

  1. nix-shell
  2. sudo python3 scripts/format-disk.py
  3. sudo nixos-install --no-root-passwd --root /mnt --flake ~/nixos#SYSTEMNAME

Update remote systems

Simply run the script scripts/update_all_systems.xsh and it will iterate over all defined systems. The script requires Xonsh but can be easily adapted to BASH or similar.

Non-Nixos System

  1. scripts/add-home-manager-channel.sh
  2. scripts/install-home-manager.sh