My personal config for all systems running NixOS
GHOSCHT
cab5d4a468
Flake lock file updates: • Updated input 'arion': 'github:hercules-ci/arion/94d092fffd5cfd4f09b8988aca1b857a9d37c4d6' (2024-10-20) → 'github:hercules-ci/arion/38ea1d87421f1695743d5eca90b0c37ef3123fbb' (2024-11-05) • Updated input 'arion/flake-parts': 'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d' (2024-08-01) → 'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90' (2024-11-01) • Updated input 'arion/hercules-ci-effects': 'github:hercules-ci/hercules-ci-effects/11e4b8dc112e2f485d7c97e1cee77f9958f498f5' (2024-06-24) → 'github:hercules-ci/hercules-ci-effects/d70658494391994c7b32e8fe5610dae76737e4df' (2024-10-29) • Updated input 'arion/nixpkgs': 'github:NixOS/nixpkgs/d04953086551086b44b6f3c6b7eeb26294f207da' (2024-08-02) → 'github:NixOS/nixpkgs/7ffd9ae656aec493492b44d0ddfb28e79a1ea25d' (2024-11-02) • Updated input 'disko': 'github:nix-community/disko/3979285062d6781525cded0f6c4ff92e71376b55' (2024-10-29) → 'github:nix-community/disko/5e40e02978e3bd63c2a6a9fa6fa8ba0e310e747f' (2024-11-08) • Updated input 'firefox-addons': 'gitlab:rycee/nur-expressions/178c79df993216cc9be02630d6cf42868b29f9c2?dir=pkgs/firefox-addons' (2024-11-03) → 'gitlab:rycee/nur-expressions/674763b3eb6f0bdfa1f987984711bd3f33efc7bf?dir=pkgs/firefox-addons' (2024-11-08) • Updated input 'hardware': 'github:nixos/nixos-hardware/f6e0cd5c47d150c4718199084e5764f968f1b560' (2024-11-02) → 'github:nixos/nixos-hardware/e1cc1f6483393634aee94514186d21a4871e78d7' (2024-11-06) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/080166c15633801df010977d9d7474b4a6c549d7' (2024-10-30) → 'github:nixos/nixpkgs/dba414932936fde69f0606b4f1d87c5bc0003ede' (2024-11-06) • Updated input 'nixpkgs-unstable': 'github:nixos/nixpkgs/7ffd9ae656aec493492b44d0ddfb28e79a1ea25d' (2024-11-02) → 'github:nixos/nixpkgs/4aa36568d413aca0ea84a1684d2d46f55dbabad7' (2024-11-05) • Updated input 'sops-nix': 'github:Mic92/sops-nix/e9b5eef9b51cdf966c76143e13a9476725b2f760' (2024-11-03) → 'github:Mic92/sops-nix/60e1bce1999f126e3b16ef45f89f72f0c3f8d16f' (2024-11-08) |
||
---|---|---|
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