1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-23 03:32:08 +01:00
Go to file
2022-10-26 20:09:28 +02:00
.github chore(deps): bump actions/checkout from 2.4.0 to 3 2022-03-07 14:26:19 +00:00
machines fix: another try to set better options for asgard disks 2022-10-26 20:09:28 +02:00
overlays feat: override citrix workspace download url 2022-09-29 14:52:30 +02:00
profiles chore: even more restructuring 2022-10-25 09:53:40 +02:00
scripts feat: add mkComputer, bootstrap without agenix 2022-10-26 17:55:43 +02:00
secrets feat: add mkComputer, bootstrap without agenix 2022-10-26 17:55:43 +02:00
.editorconfig chore: initial commit 2022-02-20 17:46:48 +01:00
.envrc chore: integrate deploy-rs and flake-utils 2022-09-28 22:28:36 +02:00
.gitignore chore: integrate deploy-rs and flake-utils 2022-09-28 22:28:36 +02:00
flake.lock chore: upgrade flake lockfile 2022-10-25 10:42:45 +02:00
flake.nix fix: no user profiles for bootstrapping 2022-10-26 18:37:33 +02:00
LICENSE chore: initial commit 2022-02-20 17:46:48 +01:00
Makefile chore: integrate deploy-rs and flake-utils 2022-09-28 22:28:36 +02:00
README.md docs: add no root password flag to install 2022-10-26 18:40:30 +02:00

nixos-config

Build

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 (c) 2021 Thomas Boerger <thomas@webhippie.de>