.github | ||
machines | ||
overlays | ||
profiles | ||
scripts | ||
secrets | ||
.editorconfig | ||
.envrc | ||
.gitignore | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
Makefile | ||
README.md |
nixos-config
Provisioning for my NixOS systems based on Nix.
Chnum
Bootstrap
sudo loadkeys de
sudo nix-shell --packages nixUnstable
bash -c "$(curl -fsSL https://raw.githubusercontent.com/tboerger/nixos-config/master/scripts/chnum-partitions)"
nixos-install --no-root-password --root /mnt --flake github:tboerger/nixos-config#chnum-bootstrap
Do not forget to rekey the secrets via agenix including the new keys
at /etc/ssh/ssh_host_ed25519_key.pub
, otherwise updating with the final
services won't work.
Updates
If the repository had been cloned you could just execute make switch
,
otherwise there is still this long option to update the deployment:
nixos-rebuild switch \
--flake github:tboerger/nixos-config#chnum
Asgard
Bootstrap
sudo loadkeys de
sudo nix-shell --packages nixUnstable
bash -c "$(curl -fsSL https://raw.githubusercontent.com/tboerger/nixos-config/master/scripts/asgard-partitions)"
nixos-install --no-root-password --root /mnt --flake github:tboerger/nixos-config#asgard-bootstrap
Do not forget to rekey the secrets via agenix including the new keys
at /etc/ssh/ssh_host_ed25519_key.pub
, otherwise updating with the final
services won't work.
Updates
If the repository had been cloned you could just execute make switch
,
otherwise there is still this long option to update the deployment:
nixos-rebuild switch \
--flake github:tboerger/nixos-config#asgard
Utgard
Bootstrap
sudo loadkeys de
sudo nix-shell --packages nixUnstable
bash -c "$(curl -fsSL https://raw.githubusercontent.com/tboerger/nixos-config/master/scripts/utgard-partitions)"
nixos-install --no-root-password --root /mnt --flake github:tboerger/nixos-config#utgard-bootstrap
Do not forget to rekey the secrets via agenix including the new keys
at /etc/ssh/ssh_host_ed25519_key.pub
, otherwise updating with the final
services won't work.
Updates
If the repository had been cloned you could just execute make switch
,
otherwise there is still this long option to update the deployment:
nixos-rebuild switch \
--flake github:tboerger/nixos-config#utgard
Midgard
Bootstrap
sudo loadkeys de
sudo nix-shell --packages nixUnstable
mount /dev/disk/by-label/NIXOS_SD /mnt
nixos-install --no-root-password --root /mnt --flake github:tboerger/nixos-config#midgard-bootstrap
Do not forget to rekey the secrets via agenix including the new keys
at /etc/ssh/ssh_host_ed25519_key.pub
, otherwise updating with the final
services won't work.
Updates
If the repository had been cloned you could just execute make switch
,
otherwise there is still this long option to update the deployment:
nixos-rebuild switch \
--flake github:tboerger/nixos-config#midgard
Security
If you find a security issue please contact thomas@webhippie.de first.
Contributing
Fork -> Patch -> Push -> Pull Request
Authors
License
Apache-2.0
Copyright
Copyright (c) 2021 Thomas Boerger <thomas@webhippie.de>