1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-23 12:42:01 +01:00
Go to file
2022-09-29 10:28:13 +02:00
.github chore(deps): bump actions/checkout from 2.4.0 to 3 2022-03-07 14:26:19 +00:00
machines feat: always set german console keymap 2022-09-29 10:28:13 +02:00
overlays chore: integrate deploy-rs and flake-utils 2022-09-28 22:28:36 +02:00
profiles fix: multimc does not exist anymore, use polymc 2022-09-29 10:18:55 +02:00
scripts fix: wait before initializing luks 2022-09-29 09:56:17 +02:00
secrets chore: big restructuring 2022-09-27 22:07:46 +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 feat: use unstable everywhere now 2022-09-28 23:39:01 +02:00
flake.nix feat: use unstable everywhere now 2022-09-28 23:39:01 +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: added chnum to readme 2022-09-27 22:44:54 +02:00

nixos-config

Build

Provisioning for my NixOS systems based on Nix.

Secrets

Generally all secrets are encrypted with agenix, so make sure to copy the SSH keys from the secrets stick with these commands:

mkdir -p $HOME/.ssh
cp /mnt/secrets/ssh/id_* $HOME/.ssh/
chmod u=rw,g=,o= $HOME/.ssh/id_*

Chnum

Bootstrap

sudo nix-shell --packages nixUnstable

bash -c "$(curl -fsSL https://raw.githubusercontent.com/tboerger/nixos-config/master/scripts/chnum-partitions)"
nixos-install --root /mnt --flake github:tboerger/nixos-config#chnum

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 nix-shell --packages nixUnstable

bash -c "$(curl -fsSL https://raw.githubusercontent.com/tboerger/nixos-config/master/scripts/asgard-partitions)"
nixos-install --root /mnt --flake github:tboerger/nixos-config#asgard

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 nix-shell --packages nixUnstable

bash -c "$(curl -fsSL https://raw.githubusercontent.com/tboerger/nixos-config/master/scripts/utgard-partitions)"
nixos-install --root /mnt --flake github:tboerger/nixos-config#utgard

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 nix-shell --packages nixUnstable

mount /dev/disk/by-label/NIXOS_SD /mnt
nixos-install --root /mnt --flake github:tboerger/nixos-config#midgard

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

Vanaheim

Bootstrap

sudo nix-shell --packages nixUnstable

mount /dev/disk/by-label/NIXOS_SD /mnt
nixos-install --root /mnt --flake github:tboerger/nixos-config#vanaheim

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#vanaheim

Niflheim

Bootstrap

sudo nix-shell --packages nixUnstable

mount /dev/disk/by-label/NIXOS_SD /mnt
nixos-install --root /mnt --flake github:tboerger/nixos-config#niflheim

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#niflheim

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>