My personal config for all systems running NixOS
GHOSCHT
c0769b53c8
Flake lock file updates: • Updated input 'arion': 'github:hercules-ci/arion/236f9dd82d6ef6a2d9987c7a7df3e75f1bc8b318' (2024-07-05) → 'github:hercules-ci/arion/90bc85532767c785245f5c1e29ebfecb941cf8c9' (2024-08-05) • Updated input 'arion/flake-parts': 'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7' (2024-07-03) → 'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d' (2024-08-01) • Updated input 'arion/nixpkgs': 'github:NixOS/nixpkgs/9f4128e00b0ae8ec65918efeba59db998750ead6' (2024-07-03) → 'github:NixOS/nixpkgs/d04953086551086b44b6f3c6b7eeb26294f207da' (2024-08-02) • Updated input 'arkenfox': 'github:dwarfmaster/arkenfox-nixos/35e803fa44abfd438c65b64ff2691f3f608cd2d3' (2024-06-17) → 'github:dwarfmaster/arkenfox-nixos/92c9a287b7b98198c3ba5cdfc90218402e49c4b3' (2024-07-23) • Updated input 'disko': 'github:nix-community/disko/e8e8d9a3a9c1d0e654ccda7834bf0288a9d15c47' (2024-07-18) → 'github:nix-community/disko/ffc1f95f6c28e1c6d1e587b51a2147027a3e45ed' (2024-08-08) • Updated input 'firefox-addons': 'gitlab:rycee/nur-expressions/8e5443b5b765c83bd0adf5c85b1af0371d052395?dir=pkgs/firefox-addons' (2024-07-19) → 'gitlab:rycee/nur-expressions/ce877fc7a74fb1abfedcdb4f78e67d930a0841c8?dir=pkgs/firefox-addons' (2024-08-09) • Updated input 'flatpaks': 'github:GermanBread/declarative-flatpak/efe7897ddcfbca085fba0690b3094e7f8e8911dd' (2024-02-07) → 'github:GermanBread/declarative-flatpak/cbabea429cd7d659041e5338e869a8e70f59fa74' (2024-07-28) • Updated input 'flatpaks/nixpkgs': 'github:NixOS/nixpkgs/a77ab169a83a4175169d78684ddd2e54486ac651' (2024-01-24) → 'github:NixOS/nixpkgs/205fd4226592cc83fd4c0885a3e4c9c400efabb5' (2024-07-09) • Updated input 'flatpaks/utils': 'github:numtide/flake-utils/1ef2e671c3b0c19053962c07dbda38332dcebf26' (2024-01-15) → 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11) • Updated input 'hardware': 'github:nixos/nixos-hardware/bb90787ea034c8b9035dfcfc9b4dc23898d414be' (2024-07-18) → 'github:nixos/nixos-hardware/107bb46eef1f05e86fc485ee8af9b637e5157988' (2024-08-08) • Updated input 'nh': 'github:viperml/nh/168c7ceea2b8d6208cf32de9eb8effa9c008b40d' (2024-07-16) → 'github:viperml/nh/ea9053852f8575f650ca0080b2cac6735c7447f7' (2024-08-07) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/c716603a63aca44f39bef1986c13402167450e0a' (2024-07-17) → 'github:nixos/nixpkgs/21cc704b5e918c5fbf4f9fff22b4ac2681706d90' (2024-08-06) • Updated input 'nixpkgs-unstable': 'github:nixos/nixpkgs/ad0b5eed1b6031efaed382844806550c3dcb4206' (2024-07-16) → 'github:nixos/nixpkgs/cb9a96f23c491c081b38eab96d22fa958043c9fa' (2024-08-04) • Updated input 'sops-nix': 'github:Mic92/sops-nix/0703ba03fd9c1665f8ab68cc3487302475164617' (2024-07-14) → 'github:Mic92/sops-nix/8ae477955dfd9cbf5fa4eb82a8db8ddbb94e79d9' (2024-08-05) • Updated input 'sops-nix/nixpkgs': 'github:NixOS/nixpkgs/8b5a3d5a1d951344d683b442c0739010b80039db' (2024-07-12) → 'github:NixOS/nixpkgs/6e14bbce7bea6c4efd7adfa88a40dac750d80100' (2024-07-20) • Updated input 'sops-nix/nixpkgs-stable': 'github:NixOS/nixpkgs/74348da2f3a312ee25cea09b98cdba4cb9fa5d5d' (2024-07-14) → 'github:NixOS/nixpkgs/556533a23879fc7e5f98dd2e0b31a6911a213171' (2024-07-21) • Updated input 'xremap': 'github:xremap/nix-flake/7a9a071a84c9b5bdd48d4b3eacf6efa448665aed' (2024-05-20) → 'github:xremap/nix-flake/3717cb0539f4967010ba540baa439a4cf6ea8576' (2024-07-24) • Updated input 'xremap/crane': 'github:ipetkov/crane/7443df1c478947bf96a2e699209f53b2db26209d' (2024-05-19) → 'github:ipetkov/crane/8a68b987c476a33e90f203f0927614a75c3f47ea' (2024-07-18) • Updated input 'xremap/devshell': 'github:numtide/devshell/12e914740a25ea1891ec619bb53cf5e6ca922e40' (2024-04-19) → 'github:numtide/devshell/1ebbe68d57457c8cae98145410b164b5477761f4' (2024-06-03) • Updated input 'xremap/flake-parts': 'github:hercules-ci/flake-parts/8dc45382d5206bd292f9c2768b8058a8fd8311d9' (2024-05-16) → 'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7' (2024-07-03) • Updated input 'xremap/flake-parts/nixpkgs-lib': ' |
||
---|---|---|
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