My personal config for all systems running NixOS
Find a file
GHOSCHT 60fd73e044
flake.lock: Update
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/abc8baff333ac9dca930fc4921a26a8fc248e442' (2024-11-22)
  → 'github:nix-community/disko/341482e2f4d888e3f60cae1c12c3df896e7230d8' (2024-11-27)
• Updated input 'firefox-addons':
    'gitlab:rycee/nur-expressions/4a8ba00d1be3f3745428ed56efbb32155c548192?dir=pkgs/firefox-addons' (2024-11-22)
  → 'gitlab:rycee/nur-expressions/0c855b6e0c58aef81f66c52f987f4c5ce8d48af0?dir=pkgs/firefox-addons' (2024-11-29)
• Updated input 'hardware':
    'github:nixos/nixos-hardware/672ac2ac86f7dff2f6f3406405bddecf960e0db6' (2024-11-16)
  → 'github:nixos/nixos-hardware/45348ad6fb8ac0e8415f6e5e96efe47dd7f39405' (2024-11-24)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/e8c38b73aeb218e27163376a2d617e61a2ad9b59' (2024-11-16)
  → 'github:nixos/nixpkgs/0c5b4ecbed5b155b705336aa96d878e55acd8685' (2024-11-27)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/23e89b7da85c3640bbc2173fe04f4bd114342367' (2024-11-19)
  → 'github:nixos/nixpkgs/4633a7c72337ea8fd23a4f2ba3972865e3ec685d' (2024-11-25)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/53c853fb1a7e4f25f68805ee25c83d5de18dc699' (2024-11-21)
  → 'github:Mic92/sops-nix/3433ea14fbd9e6671d0ff0dd45ed15ee4c156ffa' (2024-11-25)
2024-11-29 13:08:26 +01:00
disko Make disko config universal 2024-03-03 12:15:40 +01:00
home Nvim: Add clangd 2024-11-17 15:19:54 +01:00
hosts Arion: Fix matrix 2024-11-18 20:44:50 +01:00
modules Fix breakages after upgrading to NixOS 24.05 2024-06-29 10:10:36 +02:00
overlays Switch nh from flake to nixpkgs 2024-08-21 11:10:25 +02:00
pkgs Fix breakages after upgrading to NixOS 24.05 2024-06-29 10:10:36 +02:00
rsc Arion: Move ntfy to ssd 2024-11-18 20:44:33 +01:00
secrets Add OIDC to grafana 2024-08-09 16:03:31 +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-11-29 13:08:26 +01:00
flake.nix flake.lock: Update 2024-09-19 18:32:05 +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