Andreas Zweili 260c6cdf74 | ||
---|---|---|
hardware | ||
home-manager | ||
modules | ||
scripts | ||
secrets@f8a67f2acc | ||
systems | ||
.gitignore | ||
.gitmodules | ||
LICENSE | ||
README.md | ||
flake.lock | ||
flake.nix | ||
requirements.txt | ||
shell.nix | ||
version.nix |
README.md
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
nix-shell
sudo python3 scripts/format-disk.py
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
scripts/add-home-manager-channel.sh
scripts/install-home-manager.sh