My personal config for all systems running NixOS
GHOSCHT
a00655b02f
Flake lock file updates: • Updated input 'arion': 'github:hercules-ci/arion/e9945eb6cdaf5c946bacd5a330e7b5ac7b3b2fdd' (2024-05-05) → 'github:hercules-ci/arion/555e7ba634cf2564737dfc18ad607134e39f52a6' (2024-06-26) • Updated input 'arion/flake-parts': 'github:hercules-ci/flake-parts/e5d10a24b66c3ea8f150e47dfdb0416ab7c3390e' (2024-05-02) → 'github:hercules-ci/flake-parts/2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8' (2024-06-01) • Updated input 'arion/nixpkgs': 'github:NixOS/nixpkgs/63c3a29ca82437c87573e4c6919b09a24ea61b0f' (2024-05-02) → 'github:NixOS/nixpkgs/57610d2f8f0937f39dbd72251e9614b1561942d8' (2024-05-31) • Updated input 'arkenfox': 'github:dwarfmaster/arkenfox-nixos/05e7e0996493f47bbc15228895c4e31ce24616f0' (2024-02-18) → 'github:dwarfmaster/arkenfox-nixos/35e803fa44abfd438c65b64ff2691f3f608cd2d3' (2024-06-17) • Updated input 'arkenfox/flake-utils': 'github:numtide/flake-utils/1ef2e671c3b0c19053962c07dbda38332dcebf26' (2024-01-15) → 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11) • Updated input 'arkenfox/pre-commit': 'github:cachix/pre-commit-hooks.nix/5df5a70ad7575f6601d91f0efec95dd9bc619431' (2024-02-15) → 'github:cachix/pre-commit-hooks.nix/cc4d466cb1254af050ff7bdf47f6d404a7c646d1' (2024-06-06) • Removed input 'arkenfox/pre-commit/flake-utils' • Removed input 'arkenfox/pre-commit/flake-utils/systems' • Updated input 'arkenfox/pre-commit/gitignore': 'github:hercules-ci/gitignore.nix/43e1aa1308018f37118e34d3a9cb4f5e75dc11d5' (2023-12-29) → 'github:hercules-ci/gitignore.nix/637db329424fd7e46cf4185293b9cc8c88c95394' (2024-02-28) • Updated input 'arkenfox/pre-commit/nixpkgs': 'github:NixOS/nixpkgs/eabe8d3eface69f5bb16c18f8662a702f50c20d5' (2024-01-09) → 'github:NixOS/nixpkgs/e367f7a1fb93137af22a3908f00b9a35e2d286a7' (2024-03-18) • Updated input 'arkenfox/pre-commit/nixpkgs-stable': 'github:NixOS/nixpkgs/3dc440faeee9e889fe2d1b4d25ad0f430d449356' (2024-01-10) → 'github:NixOS/nixpkgs/614b4613980a522ba49f0d194531beddbb7220d3' (2024-03-17) • Updated input 'disko': 'github:nix-community/disko/0274af4c92531ebfba4a5bd493251a143bc51f3c' (2024-05-31) → 'github:nix-community/disko/423b86a7f756421325e71663ada79a199bf13408' (2024-06-29) • Updated input 'firefox-addons': 'gitlab:rycee/nur-expressions/29a3b4c8d5f21dcb359a91d88fd94ae4aa3e6a47?dir=pkgs/firefox-addons' (2024-06-02) → 'gitlab:rycee/nur-expressions/590551ba0bb0f960c7fcd37d6ff3a429f7cc9dd1?dir=pkgs/firefox-addons' (2024-06-29) • Updated input 'hardware': 'github:nixos/nixos-hardware/7b49d3967613d9aacac5b340ef158d493906ba79' (2024-06-01) → 'github:nixos/nixos-hardware/231274268ff2250d4730e274b808f66ef91b6381' (2024-06-29) • Updated input 'home-manager': 'github:nix-community/home-manager/a631666f5ec18271e86a5cde998cba68c33d9ac6' (2024-05-26) → 'github:nix-community/home-manager/a1fddf0967c33754271761d91a3d921772b30d0e' (2024-06-16) • Updated input 'nh': 'github:viperml/nh/0d76479fcdec0243ea560d1e2fde854337787e3a' (2024-06-01) → 'github:viperml/nh/6fb30a4d490a98d08628ed93a90a9d23820ef9c8' (2024-06-14) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/805a384895c696f802a9bf5bf4720f37385df547' (2024-05-31) → 'github:nixos/nixpkgs/89c49874fb15f4124bf71ca5f42a04f2ee5825fd' (2024-06-26) • Updated input 'nixpkgs-unstable': 'github:nixos/nixpkgs/ad57eef4ef0659193044870c731987a6df5cf56b' (2024-05-29) → 'github:nixos/nixpkgs/2893f56de08021cffd9b6b6dfc70fd9ccd51eb60' (2024-06-24) • Updated input 'sops-nix': 'github:Mic92/sops-nix/ab2a43b0d21d1d37d4d5726a892f714eaeb4b075' (2024-06-02) → 'github:Mic92/sops-nix/c2ea1186c0cbfa4d06d406ae50f3e4b085ddc9b3' (2024-06-24) • Updated input 'sops-nix/nixpkgs': 'github:NixOS/nixpkgs/6132b0f6e344ce2fe34fc051b72fb46e34f668e0' (2024-05-30) → 'github:NixOS/nixpkgs/90338afd6177fc683a04d934199d693708c85a3b' (2024-06-21) • Updated input 'sops-nix/nixpkgs-stable': 'github:NixOS/nixpkgs/3b1b4895b2c5f9f5544d02132896aeb9ceea77bc' (2024-06-01) → 'github:NixOS/nixpkgs/5e8e3b89adbd0be63192f6e645e0a54080004924' (2024-06-22) |
||
---|---|---|
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