No description
  • Nix 86.4%
  • Shell 13.6%
Find a file
steffen b91a44ecb9
All checks were successful
CI / flake-check (push) Successful in 42s
CI / build-asus (push) Successful in 1m58s
CI / build-beccipad (push) Successful in 26s
CI / build-rentnerpad (push) Successful in 18s
new forgejo init
2026-10-08 16:19:11 +02:00
.forgejo/workflows new forgejo init 2026-10-08 16:19:11 +02:00
assets added transparency 2026-02-22 13:32:25 +01:00
hosts feat: add vlc to all hosts 2026-09-23 20:06:39 +02:00
modules/nixos updated synix formatter + update to 26.05 2026-06-05 13:19:27 +02:00
overlays refactor: remove synix dependency, inline all modules locally 2026-03-15 19:29:18 +01:00
pkgs Initial commit 2026-01-16 11:00:16 +01:00
users fix: re-add WideVine for chromium on asus and beccipad 2026-03-15 20:56:02 +01:00
.gitignore fixed pkgs 2026-01-16 12:09:21 +01:00
CLAUDE.md new forgejo init 2026-10-08 16:19:11 +02:00
flake.lock feat: add vlc to all hosts 2026-09-23 20:06:39 +02:00
flake.nix new forgejo init 2026-10-08 16:19:11 +02:00
README.md new forgejo init 2026-10-08 16:19:11 +02:00
shell.nix refactor: replace Home Manager with native NixOS user config 2026-03-15 19:29:09 +01:00
statix.toml updated synix formatter + update to 26.05 2026-06-05 13:19:27 +02:00

Rentner-Nix

Rentner-Nix Logo

NixOS-Konfigurationen für technisch weniger versierte Nutzer ("Rentner"), optimiert für den Umstieg von Windows auf älterer Hardware.

Features

  • Basis: NixOS 26.05 mit Flakes — die Systeme nutzen keine externen Framework-Module; synix liefert nur Installer, Formatter und Git-Hooks.
  • Automatische Updates: Comin pollt den main Branch von https://git.portuus.de/steffen/rentner-nix.git und wendet Änderungen automatisch an.
  • CI/CD: Forgejo Actions (Runner portuus-nix) führen bei jedem Push auf main und bei Pull Requests nix flake check (inkl. pre-commit-check) aus und bauen alle drei Konfigurationen. Zusätzlich läuft wöchentlich ein CVE-Scan (vulnix) über alle Hosts.

Verfügbare Hosts

Hostname Gerät Benutzer
rentnerpad Lenovo Laptop rentner
asus Asus Laptop antonia
beccipad Laptop (240 GB SSD) rebecca

Installation

Die allgemeine Installationsanleitung findest du im Synix Repository. Hier die spezifischen Schritte für dieses Repository.

Voraussetzungen

  1. Bootfähiges NixOS Medium: Starte das offizielle NixOS Minimal ISO.
  2. Internetverbindung: Das Zielgerät muss online sein.

Schritte

0. SSH Verbindung (Optional aber empfohlen)

Auf dem Zielgerät (Passwort für den nixos user setzen):

passwd

Vom eigenen Rechner:

ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no nixos@<IP-ADRESSE>

(Die IP-Adresse findest du mit ip a)

1. Root werden

sudo -i

2. WLAN Verbinden (falls kein LAN verfügbar)

# Scannen
nmcli device wifi list

# Verbinden
nmcli device wifi connect "DEIN_WLAN_NAME" password "DEIN_PASSWORT"

3. Installation starten

Ersetze HOSTNAME durch rentnerpad, asus oder beccipad.

nix --experimental-features "nix-command flakes" run git+https://git.sid.ovh/sid/synix#apps.x86_64-linux.install -- -n HOSTNAME -r https://git.portuus.de/steffen/rentner-nix.git -b main

Hinweis: Das Skript partitioniert die Festplatte automatisch neu (siehe disks.sh im jeweiligen Host-Ordner). Alle Daten auf dem Ziellaufwerk gehen verloren!

4. Abschluss

umount -Rl /mnt
reboot

5. Erster Login

Das System bootet in das frische NixOS. Logge dich mit dem konfigurierten Benutzer ein (rentner, antonia oder rebecca). Das initiale Passwort ist changeme — sofort ändern:

passwd

Updates

Automatisch

Comin aktualisiert das System automatisch, sobald Änderungen auf main landen.

Manuell

sudo nixos-rebuild switch --flake .

Entwicklung

Repository: forgejo@git.portuus.de:steffen/rentner-nix.git

# Evaluation + Lint-Hooks (nixfmt, statix, shellcheck, yamllint, actionlint)
nix flake check

# Nur die Lint-Hooks
nix build --no-link .#checks.x86_64-linux.pre-commit-check

# Einzelnen Host bauen
nix build -L --no-link .#nixosConfigurations.rentnerpad.config.system.build.toplevel

Die Workflows liegen in .forgejo/workflows/ (ci.yml, security.yml).