Coding
PromptBeginner5 minmarkdown
Nano Banana Pro
Agent skill for nano-banana-pro
6
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is a personal NixOS configuration repository managing multiple machines using Nix flakes. The configuration includes both NixOS system configuration and home-manager for user-level packages and dotfiles.
just switch # Apply configuration changes (default command) sudo nixos-rebuild switch --flake '.#' --show-trace
just build nixos-rebuild build --flake '.#' --show-trace
just update # Update flake, build, and show diff just flake # Only update flake.lock nix flake update
just diff nvd diff /nix/var/nix/profiles/system result
nix fmt # Uses nixfmt-tree (defined in flake.nix)
just build # Build configuration to validate syntax nixos-rebuild build --flake '.#' --show-trace
This validates the entire NixOS configuration including home-manager and Hyprland settings without applying changes.
nix build .#iso sudo dd if=results/iso/*.iso of=/dev/sda bs=4M status=progress && sync
nixos-rebuild \ --target-host user@hostname \ --use-remote-sudo \ switch \ --flake ".#hostname"
default.nix, hardware-configuration.nix, home.nixkondor (desktop), pirol, iso (installation media)Host configurations import relevant modules from
modules/ directory:
modules/default.nix (shell, Nix settings, home-manager integration)desktop.nix, sway.nix, hyprland.nix, steam.nix, docker.nix, virtualization.nixhardware/bluetooth.nix, hardware/zsa.nix (ZSA keyboards), hardware/ledger.nixmodules/projects/USER variable (currently "stefan")hosts/${hostname}/home.nixmodules/home/ for shell, emacs, email, password-store, etc.Two wayland compositors are configured:
modules/sway.nix and sway config in home-manager (uses kanshi for display management)modules/hyprland.nix with UWSM (Universal Wayland Session Manager, uses native monitor configuration)cd secrets agenix -e <name-of-secret>.age
secrets/secrets.nix with authorized host public keys/etc/ssh/ssh_host_ed25519_key.pubsecrets/secrets.nixagenix --rekey -i ~/.ssh/id_ed25519_stfl
modules/hardware/zsa.nixmodules/hardware/bluetooth.nixmodules/hardware/ledger.nixswaymsg -t get_outputsservices.kanshi.settings in home.nixwayland.windowManager.hyprland.settings.monitorwayland.windowManager.hyprland.settings.workspacehyprctl monitorshosts/${hostname}/home.nix (e.g., kondor: home monitor, beamer, receiver)