My personal config for all systems running NixOS
Find a file
2024-06-02 11:11:40 +02:00
disko Make disko config universal 2024-03-03 12:15:40 +01:00
home Disable ipv4-only git 2024-06-02 11:11:21 +02:00
hosts Remove podman from global default 2024-06-02 11:11:40 +02:00
modules Add customization home-manager modules 2023-12-27 22:49:54 +01:00
overlays Add home-manager baseline 2023-12-26 13:59:30 +01:00
pkgs Add basic tmux support 2024-05-08 09:53:50 +02:00
rsc Enable picom vsync 2024-04-09 15:21:11 +02:00
secrets DynDNS: Update cloudflare api key 2024-05-23 23:56:57 +02:00
.gitignore Initial desktop config 2023-10-13 20:52:26 +02:00
.sops.yaml Add basic docker config 2024-03-03 20:04:13 +01:00
flake.lock flake.lock: Update 2024-05-30 11:13:48 +02:00
flake.nix Add basic eustachius config 2024-05-30 23:47:03 +02:00
README.md Add basic raspi build docs 2024-05-31 00:19:21 +02:00
vars.nix Add new global variable 2023-12-28 18:24:23 +01:00

Nix-Config

Installation

The NixOS installer image comes with password SSH auth disabled. Simply allowing the public Git keys is a nice workaround.

sudo systemctl start sshd
mkdir ~/.ssh; curl https://git.ghoscht.com/ghoscht.keys > ~/.ssh/authorized_keys

The specific config from "hosts" can be installed using the following command. Limiting the download speed is optional, but can come in handy.

sudo nixos-install --option download-speed 4000 --flake .#<CONFIG_NAME_HERE>

RPi Image generation

nix build .#nixosConfigurations.eustachius.config.system.build.sdImage
sudo dd if=./result/sd-image/<IMAGE_NAME>.img of=/dev/<DEVICE_NAME> bs=1M status=progress