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

• Updated input 'disko':
    'github:nix-community/disko/8ea5bcccc03111bdedaeaae9380dfab61e9deb33' (2024-05-30)
  → 'github:nix-community/disko/0274af4c92531ebfba4a5bd493251a143bc51f3c' (2024-05-31)
• Updated input 'firefox-addons':
    'gitlab:rycee/nur-expressions/984d03b48bff391f054e1676a97181d79ae309db?dir=pkgs/firefox-addons' (2024-05-30)
  → 'gitlab:rycee/nur-expressions/29a3b4c8d5f21dcb359a91d88fd94ae4aa3e6a47?dir=pkgs/firefox-addons' (2024-06-02)
• Updated input 'hardware':
    'github:nixos/nixos-hardware/8251761f93d6f5b91cee45ac09edb6e382641009' (2024-05-29)
  → 'github:nixos/nixos-hardware/7b49d3967613d9aacac5b340ef158d493906ba79' (2024-06-01)
• Updated input 'home-manager':
    'github:nix-community/home-manager/2c78a57c544dd19b07442350727ced097e1aa6e6' (2024-05-26)
  → 'github:nix-community/home-manager/a631666f5ec18271e86a5cde998cba68c33d9ac6' (2024-05-26)
• Updated input 'nh':
    'github:viperml/nh/127a23c82aa41091e97466092d2547c08c2a9a9d' (2024-05-05)
  → 'github:viperml/nh/0d76479fcdec0243ea560d1e2fde854337787e3a' (2024-06-01)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/9d29cd266cebf80234c98dd0b87256b6be0af44e' (2024-05-25)
  → 'github:nixos/nixpkgs/805a384895c696f802a9bf5bf4720f37385df547' (2024-05-31)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/9ca3f649614213b2aaf5f1e16ec06952fe4c2632' (2024-05-27)
  → 'github:nixos/nixpkgs/ad57eef4ef0659193044870c731987a6df5cf56b' (2024-05-29)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/962797a8d7f15ed7033031731d0bb77244839960' (2024-05-26)
  → 'github:Mic92/sops-nix/ab2a43b0d21d1d37d4d5726a892f714eaeb4b075' (2024-06-02)
• Updated input 'sops-nix/nixpkgs':
    'github:NixOS/nixpkgs/c5187508b11177ef4278edf19616f44f21cc8c69' (2024-05-25)
  → 'github:NixOS/nixpkgs/6132b0f6e344ce2fe34fc051b72fb46e34f668e0' (2024-05-30)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/59a450646ec8ee0397f5fa54a08573e8240eb91f' (2024-05-25)
  → 'github:NixOS/nixpkgs/3b1b4895b2c5f9f5544d02132896aeb9ceea77bc' (2024-06-01)
2024-06-02 11:13:33 +02:00
disko Make disko config universal 2024-03-03 12:15:40 +01:00
home Disable ipv4-only git 2024-06-02 11:11:21 +02:00
hosts Remove podman from global default 2024-06-02 11:11:40 +02:00
modules Add customization home-manager modules 2023-12-27 22:49:54 +01:00
overlays Add home-manager baseline 2023-12-26 13:59:30 +01:00
pkgs Add basic tmux support 2024-05-08 09:53:50 +02:00
rsc Enable picom vsync 2024-04-09 15:21:11 +02:00
secrets DynDNS: Update cloudflare api key 2024-05-23 23:56:57 +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-06-02 11:13:33 +02:00
flake.nix Add basic eustachius config 2024-05-30 23:47:03 +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