com um clique
add-nixos-host
Create a new NixOS host configuration in this repository
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Create a new NixOS host configuration in this repository
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Commit the current working-tree changes with a well-formed message. Use when the user says "commit", "commit this", "do a commit", "stage and commit", or otherwise asks to commit the current changes.
Apply a nixpkgs PR override to the flake.nix configuration
| name | add-nixos-host |
| description | Create a new NixOS host configuration in this repository |
| license | MIT |
| metadata | {"audience":"nixos-admins","workflow":"host-creation"} |
Create a complete new host configuration for this NixOS flake repository including:
hosts/host.<hostname>/)default.nix with boilerplate configurationhardware-configuration.nix templateflake.nix: add nixosConfigurationsGen.host-<name> generator and nixosConfigurations.<name> entryhosts/metadata.json: add host metadata entryUse this when adding a new NixOS host to your configuration repository. I'll guide you through gathering all necessary information and create the appropriate files with proper formatting.
newhost)x86_64-linux or aarch64-linuxf13 (laptop, desktop, wayland, full-featured)pi4 (headless ARM, minimal, containerized)spare (laptop, build slave, minimal desktop)workstation (desktop, gaming, AMD/NVIDIA)nas (server, headless, storage)home192.168.1.X)10.199.199.X)hosts/metadata.json to check for duplicateshosts/host.<hostname>/default.nix based on selected templatehardware-configuration.nix template (placeholder for actual hardware scan)flake.nix:
nixosConfigurationsGennixosConfigurationshosts/metadata.json with host metadata./nixfmtall.sh to format all changesnix flake checkgit add hosts/host.<hostname>/ flake.nix hosts/metadata.jsonhardware-configuration.nix will be a template; run sudo nixos-generate-config on the actual host to generate the real hardware configurationevalConfiguration "<system>" "<hostname>" [ self.nixosModules.core ] ++ moreModules { }announceOtherHosts will be discoverable by other hosts in the network10.199.199.0/24 subnet