My personal config for all systems running NixOS
Find a file
GHOSCHT c0769b53c8
flake.lock: Update
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':
    '50eb7ecf4c.tar.gz?narHash=sha256-QBx10%2Bk6JWz6u7VsohfSw8g8hjdBZEf8CFzXH1/1Z94%3D' (2024-05-02)
  → '5daf051448.tar.gz?narHash=sha256-Fm2rDDs86sHy0/1jxTOKB1118Q0O3Uc7EC0iXvXKpbI%3D' (2024-07-01)
• Updated input 'xremap/home-manager':
    'github:nix-community/home-manager/e3ad5108f54177e6520535768ddbf1e6af54b59d' (2024-05-17)
  → 'github:nix-community/home-manager/afd2021bedff2de92dfce0e257a3d03ae65c603d' (2024-07-16)
• Updated input 'xremap/home-manager/nixpkgs':
    'github:NixOS/nixpkgs/f1010e0469db743d14519a1efd37e23f8513d714' (2024-05-09)
  → 'github:NixOS/nixpkgs/00d80d13810dbfea8ab4ed1009b09100cca86ba8' (2024-07-01)
• Updated input 'xremap/hyprland':
    'github:hyprwm/Hyprland/f8857e6072bd85b95393499688872aaf7f088b5b' (2024-05-18)
  → 'github:hyprwm/Hyprland/f642fb97df5c69267a03452533de383ff8023570' (2024-07-20)
• Updated input 'xremap/hyprland/hyprcursor':
    'github:hyprwm/hyprcursor/7c3aa03dffb53921e583ade3d4ae3f487e390e7e' (2024-05-15)
  → 'github:hyprwm/hyprcursor/a5c0d57325c5f0814c39110a70ca19c070ae9486' (2024-07-04)
• Updated input 'xremap/hyprland/hyprlang':
    'github:hyprwm/hyprlang/969cb076e5b76f2e823aeca1937a3e1f159812ee' (2024-05-15)
  → 'github:hyprwm/hyprlang/5df0174fd09de4ac5475233d65ffc703e89b82eb' (2024-07-07)
• Added input 'xremap/hyprland/hyprlang/hyprutils':
    follows 'xremap/hyprland/hyprutils'
• Added input 'xremap/hyprland/hyprutils':
    'github:hyprwm/hyprutils/eb1ceff2b87f6820789249f63faa8e9dcb54d05f' (2024-07-15)
• Added input 'xremap/hyprland/hyprutils/nixpkgs':
    follows 'xremap/hyprland/nixpkgs'
• Added input 'xremap/hyprland/hyprutils/systems':
    follows 'xremap/hyprland/systems'
• Updated input 'xremap/hyprland/hyprwayland-scanner':
    'github:hyprwm/hyprwayland-scanner/f5181a068c1b06f2db51f6222e50a0c665a2b0c3' (2024-05-16)
  → 'github:hyprwm/hyprwayland-scanner/d5fa094ca27e0039be5e94c0a80ae433145af8bb' (2024-07-05)
• Updated input 'xremap/hyprland/nixpkgs':
    'github:NixOS/nixpkgs/33d1e753c82ffc557b4a585c77de43d4c922ebb5' (2024-05-15)
  → 'github:NixOS/nixpkgs/693bc46d169f5af9c992095736e82c3488bf7dbb' (2024-07-14)
• Updated input 'xremap/hyprland/xdph':
    'github:hyprwm/xdg-desktop-portal-hyprland/af7c87a32f5d67eb2ada908a6a700f4e74831943' (2024-05-15)
  → 'github:hyprwm/xdg-desktop-portal-hyprland/b9b97e5ba23fe7bd5fa4df54696102e8aa863cf6' (2024-07-05)
• Updated input 'xremap/hyprland/xdph/hyprland-protocols':
    'github:hyprwm/hyprland-protocols/0c2ce70625cb30aef199cb388f99e19a61a6ce03' (2023-08-11)
  → 'github:hyprwm/hyprland-protocols/1b61f0093afff20ab44d88ad707aed8bf2215290' (2024-06-18)
• Updated input 'xremap/nixpkgs':
    'github:NixOS/nixpkgs/5a5ac83292c7842072318f57d68a48474f8bd34d' (2024-05-20)
  → 'github:NixOS/nixpkgs/2d65995365a2a6b05db69e344d3b673c8d541bcd' (2024-07-20)
• Updated input 'xremap/treefmt-nix':
    'github:numtide/treefmt-nix/2fba33a182602b9d49f0b2440513e5ee091d838b' (2024-05-17)
  → 'github:numtide/treefmt-nix/888bfb10a9b091d9ed2f5f8064de8d488f7b7c97' (2024-07-20)
• Updated input 'xremap/treefmt-nix/nixpkgs':
    'github:nixos/nixpkgs/0e74ca98a74bc7270d28838369593635a5db3260' (2024-02-21)
  → 'github:nixos/nixpkgs/2741b4b489b55df32afac57bc4bfd220e8bf617e' (2024-06-29)
• Updated input 'xremap/xremap':
    'github:k0kubun/xremap/98bb9ee1b1e35bfed6370dbbdf5703a8799fec11' (2024-05-20)
  → 'github:k0kubun/xremap/d1b17c4b9958feb5804f317b654ab3936f852c61' (2024-05-20)
2024-08-09 14:58:56 +02:00
disko Make disko config universal 2024-03-03 12:15:40 +01:00
home Fix breakages after upgrading to NixOS 24.05 2024-06-29 10:10:36 +02:00
hosts Add coolercontrol 2024-06-29 10:11:01 +02:00
modules Fix breakages after upgrading to NixOS 24.05 2024-06-29 10:10:36 +02:00
overlays Add home-manager baseline 2023-12-26 13:59:30 +01:00
pkgs Fix breakages after upgrading to NixOS 24.05 2024-06-29 10:10:36 +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-08-09 14:58:56 +02:00
flake.nix Fix breakages after upgrading to NixOS 24.05 2024-06-29 10:10:36 +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