My personal config for all systems running NixOS
GHOSCHT
6ed0c4561c
Flake lock file updates: • Updated input 'firefox-addons': 'gitlab:rycee/nur-expressions/2b5a7eb2719b146f6308dfa51c9a1c4b03d965a3?dir=pkgs/firefox-addons' (2024-12-19) → 'gitlab:rycee/nur-expressions/c2d31edc915e357be279717b1c7c8554f751546d?dir=pkgs/firefox-addons' (2024-12-21) • Updated input 'nixvim': 'github:nix-community/nixvim/4f0d5e0d2947dbf111f2ce00c99ca4c6c659dc79' (2024-12-17) → 'github:nix-community/nixvim/334947672f1eb05488e69657b9c412230bd658b4' (2024-12-21) • Updated input 'nixvim/git-hooks': 'github:cachix/git-hooks.nix/d8c02f0ffef0ef39f6063731fc539d8c71eb463a' (2024-12-08) → 'github:cachix/git-hooks.nix/0ddd26d0925f618c3a5d85a4fa5eb1e23a09491d' (2024-12-17) • Updated input 'nixvim/home-manager': 'github:nix-community/home-manager/1318c3f3b068cdcea922fa7c1a0a1f0c96c22f5f' (2024-12-11) → 'github:nix-community/home-manager/80b0fdf483c5d1cb75aaad909bd390d48673857f' (2024-12-16) • Updated input 'nixvim/treefmt-nix': 'github:numtide/treefmt-nix/0ce9d149d99bc383d1f2d85f31f6ebd146e46085' (2024-12-09) → 'github:numtide/treefmt-nix/65712f5af67234dad91a5a4baee986a8b62dbf8f' (2024-12-20) • Updated input 'picokontroller': 'git+https://git.ghoscht.com/ghoscht/picoKontroller?ref=refs/heads/master&rev=d2a7e36f5e58300af341a728b9c4e1bfe2776d4d' (2024-12-20) → 'git+https://git.ghoscht.com/ghoscht/picoKontroller?ref=refs/heads/master&rev=6d210f6fbd1256e9430da4247e45c925a2f7c587' (2024-12-21) |
||
---|---|---|
disko | ||
home | ||
hosts | ||
modules | ||
overlays | ||
pkgs | ||
rsc | ||
secrets | ||
.gitignore | ||
.sops.yaml | ||
flake.lock | ||
flake.nix | ||
README.md | ||
vars.nix |
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