No description
Find a file
GHOSCHT f1eb673e27
flake.lock: Update
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/435737144be0259559ca3b43f7d72252b1fdcc1b' (2024-08-22)
  → 'github:nix-community/disko/511388d837178979de66d14ca4a2ebd5f7991cd3' (2024-08-29)
• Updated input 'firefox-addons':
    'gitlab:rycee/nur-expressions/8cb9ce8123529ac0b621dc1cc1464aebbfadcbf0?dir=pkgs/firefox-addons' (2024-08-23)
  → 'gitlab:rycee/nur-expressions/79e336c765b0bfd77a0bb1a8c5efb7eb2c9a6b58?dir=pkgs/firefox-addons' (2024-08-30)
• Updated input 'flatpaks':
    'github:GermanBread/declarative-flatpak/cbabea429cd7d659041e5338e869a8e70f59fa74' (2024-07-28)
  → 'github:GermanBread/declarative-flatpak/d0ac1633b1477954f0c172bdb07bc7896fa602cc' (2024-08-24)
• Removed input 'flatpaks/nixpkgs'
• Removed input 'flatpaks/utils'
• Removed input 'flatpaks/utils/systems'
• Updated input 'hardware':
    'github:nixos/nixos-hardware/b09c46430ffcf18d575acf5c339b38ac4e1db5d2' (2024-08-19)
  → 'github:nixos/nixos-hardware/95c3dfe6ef2e96ddc1ccdd7194e3cda02ca9a8ef' (2024-08-28)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/797f7dc49e0bc7fab4b57c021cdf68f595e47841' (2024-08-22)
  → 'github:nixos/nixpkgs/ae2fc9e0e42caaf3f068c1bfdc11c71734125e06' (2024-08-28)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/c374d94f1536013ca8e92341b540eba4c22f9c62' (2024-08-21)
  → 'github:nixos/nixpkgs/71e91c409d1e654808b2621f28a327acfdad8dc2' (2024-08-28)
2024-08-30 10:55:44 +02:00
disko Make disko config universal 2024-03-03 12:15:40 +01:00
home Merge branch 'main' of ssh://git.ghoscht.com:2222/ghoscht/nix-config 2024-08-09 16:11:57 +02:00
hosts Autorestic: Add nas (smb share) backup 2024-08-28 15:05:15 +02: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: Add authentik integration with non-oidc services 2024-08-19 20:55:51 +02: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-08-30 10:55:44 +02:00
flake.nix Switch nh from flake to nixpkgs 2024-08-21 11:10:25 +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