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

• Updated input 'arion':
    'github:hercules-ci/arion/38ea1d87421f1695743d5eca90b0c37ef3123fbb' (2024-11-05)
  → 'github:hercules-ci/arion/9b48f2df099720925f4b9ae204ce400bd9ec4a3f' (2024-12-05)
• Updated input 'arion/flake-parts':
    'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90' (2024-11-01)
  → 'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9' (2024-12-04)
• Updated input 'arion/hercules-ci-effects':
    'github:hercules-ci/hercules-ci-effects/d70658494391994c7b32e8fe5610dae76737e4df' (2024-10-29)
  → 'github:hercules-ci/hercules-ci-effects/56f8ea8d502c87cf62444bec4ee04512e8ea24ea' (2024-12-04)
• Updated input 'arion/hercules-ci-effects/flake-parts':
    'github:hercules-ci/flake-parts/9126214d0a59633752a136528f5f3b9aa8565b7d' (2024-04-01)
  → 'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9' (2024-12-04)
• Updated input 'disko':
    'github:nix-community/disko/341482e2f4d888e3f60cae1c12c3df896e7230d8' (2024-11-27)
  → 'github:nix-community/disko/785c1e02c7e465375df971949b8dcbde9ec362e5' (2024-12-02)
• Updated input 'firefox-addons':
    'gitlab:rycee/nur-expressions/0c855b6e0c58aef81f66c52f987f4c5ce8d48af0?dir=pkgs/firefox-addons' (2024-11-29)
  → 'gitlab:rycee/nur-expressions/12fc49ae7ec8483554863699a081b5baf54617d0?dir=pkgs/firefox-addons' (2024-12-07)
• Updated input 'hardware':
    'github:nixos/nixos-hardware/45348ad6fb8ac0e8415f6e5e96efe47dd7f39405' (2024-11-24)
  → 'github:nixos/nixos-hardware/e563803af3526852b6b1d77107a81908c66a9fcf' (2024-12-06)
• Updated input 'home-manager':
    'github:nix-community/home-manager/62d536255879be574ebfe9b87c4ac194febf47c5' (2024-12-01)
  → 'github:nix-community/home-manager/e38d3dd1d355a003cc63e8fe6ff66ef2257509ed' (2024-12-06)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/62c435d93bf046a5396f3016472e8f7c8e2aed65' (2024-11-30)
  → 'github:nixos/nixpkgs/4dc2fc4e62dbf62b84132fe526356fbac7b03541' (2024-12-05)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/4633a7c72337ea8fd23a4f2ba3972865e3ec685d' (2024-11-25)
  → 'github:nixos/nixpkgs/d0797a04b81caeae77bcff10a9dde78bc17f5661' (2024-12-05)
• Updated input 'nixvim':
    'github:nix-community/nixvim/c500a3ffe18d8e7c7146dce26d7828b3dacd2320' (2024-11-30)
  → 'github:nix-community/nixvim/667b2a5f7a7925fb3247fd3201f4a9e0bcebcd48' (2024-12-03)
• Updated input 'nixvim/home-manager':
    'github:nix-community/home-manager/f3111f62a23451114433888902a55cf0692b408d' (2024-11-24)
  → 'github:nix-community/home-manager/62d536255879be574ebfe9b87c4ac194febf47c5' (2024-12-01)
• Updated input 'nixvim/nix-darwin':
    'github:lnl7/nix-darwin/6ab87b7c84d4ee873e937108c4ff80c015a40c7a' (2024-11-26)
  → 'github:lnl7/nix-darwin/c6b65d946097baf3915dd51373251de98199280d' (2024-12-02)
• Updated input 'nixvim/nuschtosSearch':
    'github:NuschtOS/search/fe07070f811b717a4626d01fab714a87d422a9e1' (2024-11-18)
  → 'github:NuschtOS/search/16307548b7a1247291c84ae6a12c0aacb07dfba2' (2024-11-30)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/3433ea14fbd9e6671d0ff0dd45ed15ee4c156ffa' (2024-11-25)
  → 'github:Mic92/sops-nix/c6134b6fff6bda95a1ac872a2a9d5f32e3c37856' (2024-12-02)
• Updated input 'stylix':
    'github:danth/stylix/d13ffb381c83b6139b9d67feff7addf18f8408fe' (2024-11-30)
  → 'github:danth/stylix/e309d64fe7f203274a7913e1d2b74307d15ba122' (2024-12-06)
• Updated input 'stylix/gnome-shell':
    'github:GNOME/gnome-shell/0d0aadf013f78a7f7f1dc984d0d812971864b934' (2024-04-21)
  → 'github:GNOME/gnome-shell/dadd58f630eeea41d645ee225a63f719390829dc' (2024-11-23)
• Updated input 'stylix/home-manager':
    'github:nix-community/home-manager/a9953635d7f34e7358d5189751110f87e3ac17da' (2024-11-24)
  → 'github:nix-community/home-manager/c1fee8d4a60b89cae12b288ba9dbc608ff298163' (2024-12-01)
2024-12-07 11:32:01 +01:00
disko Make disko config universal 2024-03-03 12:15:40 +01:00
home Autoformat 2024-12-02 23:09:33 +01:00
hosts Stylix: Remove commented-out nixvim code 2024-12-02 23:15:53 +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 Add stylix 2024-12-02 20:15:40 +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-12-07 11:32:01 +01:00
flake.nix Autoformat 2024-12-02 23:09:33 +01: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