No description
  • QML 56%
  • Nix 42.7%
  • Lua 0.9%
  • Just 0.4%
Find a file
Kasper Seweryn 2811470dc2
Some checks failed
Nix Flake Check / nix-flake-check (push) Failing after 6m19s
feat(home-assistant): add declarative config
2026-04-13 09:54:50 +02:00
.forgejo/workflows feat(homeserver): add initial configuration and sd image tools 2026-01-19 19:23:59 +01:00
assets feat(framewaff): hibernate after 1h of sleep and don't hibernate on AC 2026-01-15 19:27:53 +01:00
hosts feat(home-assistant): add declarative config 2026-04-13 09:54:50 +02:00
modules feat(terminal): migrate to rio 2026-04-11 15:51:17 +02:00
overlays feat(home-assistant): add declarative config 2026-04-13 09:54:50 +02:00
packages feat(home-assistant): add declarative config 2026-04-13 09:54:50 +02:00
secrets feat(home-assistant): add declarative config 2026-04-13 09:54:50 +02:00
.envrc feat(ci): use local actions 2026-01-06 14:00:40 +01:00
.gitignore feat(workstation)!: add host 2025-09-17 14:11:02 +02:00
.sops.yaml feat(audio-server): manage music library with beets 2026-02-28 22:40:08 +01:00
flake.lock fix(nixvim): temporarily disable hmts 2026-04-09 02:09:06 +02:00
flake.nix feat(home-assistant): add declarative config 2026-04-13 09:54:50 +02:00
justfile feat(justfile): allow deploy without rollback 2026-04-06 14:14:54 +02:00
README.md feat(justfile): easy deployment to another target 2026-03-30 10:44:53 +02:00
renovate.json Add renovate.json 2025-07-16 14:31:36 +00:00

Neovim

To test the neovim configuration, run:

nix run 'git+https://forge.wvffle.net/wvffle/nixfiles#nvim'

Shell

To test the user shell, run:

nix run 'git+https://forge.wvffle.net/wvffle/nixfiles#waff-shell'

Installation to a new machine

  • Download NixOS installer from https://nixos.org/download/.
  • sudo dd bs=4M conv=fsync oflag=direct status=progress if=~/Downloads/nixos-*.iso of=/dev/sda
  • Boot into the installer on the target machine.
  • sudo passwd on the target machine
  • ip a on the target machine
  • just install <CONFIGURATION> <IP>

Deployment to a remote machine

Deploy your configuration using:

just deploy <CONFIGURATION>
# or
just deploy <CONFIGURATION> <TARGET_IP>

TODO

Build NixOS installer images

  • Minimal installation image for remote installs via just install
  • Automatic installation image for predefined host (if possible).

Add router configuration

There are a handful of projects trying to make OpenWRT declarative:

Alternatively, there is:

Build Android images

Robotnix allows android to be configured just like a NixOS system (to some extent).

It allows to build AOSP, LineageOS or GrapheneOS. (Need to test whether you can build GrapheneOS on not officially supported devices). It allows to pre install apps through fetching APKs, set some settings and stuff.

Links:

Declarative home automation configuration

Option A: Home Assistant

As of the 2026.2.0 release we support over 98% (1375/1394) of the built-in integrations See: https://wiki.nixos.org/wiki/Home_Assistant#Declarative_configuration

Option B: Custom tiny Rust automation tool

Stack:

  • zigbee2mqtt
  • Rust backend
  • Dioxus dashboard (web + android)
    • Floorplan
      • Valetudo map
  • A way to deploy Meross MSS315 plugs locally

Nixvim

Wayland shell (waff-shell)

  • notifications
    • dedicated layout for calls
  • mpris
  • networks
    • switch VPNs
  • inhibit
    • global inhibit, not per bar

Host: framewaff

  • Open images in imv, videos in mpv, etc...
  • Automatically retag emails when filters change (see commit: 3b3482d)

Host: workstation

  • Configure as a remote builder

Host: microlab-solo9c

  • Mute frequencies above 14kHz