Skip to content

Latest commit

 

History

1,297 Commits

Folders and files

Repository files navigation

Welcome to Andrew's Home Flake

Latest Release License

GitHub Repo

🏠 Home Repository for my NixOS Machines❄️ and Kubernetes☸️

Features

☸️ Kubernetes

K3s • Rancher • Cloudflare WARP

❄️ NixOS

Clan.lol • flake-parts • dendritic • home-manager • Tailscale • OpenShell • Modded Minecraft Server • KDE • Wayland

Project layout

flake.nix       # Flake that controls the project
flake.lock      # Flake's lock file
inventory.nix   # Clan.lol Inventory of all NixOS machines and Services
.env.schema     # Varlock schema

machines/       # NixOS Machines
clanServices/   # Clan.lol Services
lib/            # Custom functions accessible via `lib.custom`
overlays/       # Overlays for Nixpkgs. Adds `pkgs.unstable`

flake-parts/        # Top-level Flake Part files
                    # Auto-imported via import-tree: every .nix file
                    # here loads, there is no import list to update
    default.nix     # Default flake-parts configuration
    checks.nix      # checks.lint (alejandra/statix/deadnix) + devenv-lock-drift
    tests.nix       # Auto-discovers vm-tests/ into sm/md/lg variants
    devShells.nix   # Development Shells
    apps/           # Applications `nix run .#<app>`
    packages/       # Packages `nix build .#<package>`
    ociImages/      # OCI images (code-agent-image)
    homeModules/    # Home-manager Modules (incl. profiles/)
    nixosModules/   # NixOS Modules

devenv/             # Shared devenv module (both `devenv shell` and `nix develop`)
devenv.nix          # devenv CLI entry point
devenv.yaml         # devenv project settings (pins mirror flake.lock)
devenv.lock         # devenv lockfile (pins mirror flake.lock)

documentation/      # MkDocs
    mkdocs.yml      # MkDocs configuration
    docs/           # Documentation source

.devcontainer/          # Devcontainer

sops/                   # Encrypted Secrets
vars/                   # Clan.lol implementaion of SOPS

Flake Outputs

Flake outputs as of the last refresh — regenerate after output changes with nix run .#update-flake-show (writes both this file and README.md).

$ nix flake show
├───allSystems: unknown
├───apps
│   └───x86_64-linux
│       ├───fetch-kubeconfig: app: no description
│       ├───get-keys: app: no description
│       ├───load-code-agent-image: app: no description
│       ├───update-flake-show: app: no description
│       ├───vm-test: app: no description
│       └───watch-documentation: app: Run mkdocs in watch mode over your documentation folder. Automatically rebuilds your docs on changes.
├───checks
│   └───x86_64-linux
│       ├───devenv-lock-drift: derivation 'devenv-lock-drift'
│       └───lint: derivation 'lint'
├───clan: unknown
├───clanInternals: unknown
├───darwinConfigurations: unknown
├───darwinModules: unknown
├───debug: unknown
├───devShells
│   └───x86_64-linux
│       └───default: development environment 'devenv-shell'
├───formatter
│   └───x86_64-linux: package 'alejandra-4.0.0'
├───homeConfigurations: unknown
├───homeModules: unknown
├───legacyPackages
│   └───x86_64-linux omitted (use '--legacy' to show)
├───lib: unknown
├───nixosConfigurations
│   ├───ghost: NixOS configuration
│   ├───hp-notebook: NixOS configuration
│   ├───kamrui-h1: NixOS configuration
│   ├───nixos: NixOS configuration
│   └───nixos-installer: NixOS configuration
├───nixosModules
│   ├───amd: NixOS module
│   ├───bluetooth: NixOS module
│   ├───clan: NixOS module
│   ├───clan-machine-ghost: NixOS module
│   ├───clan-machine-hp-notebook: NixOS module
│   ├───clan-machine-kamrui-h1: NixOS module
│   ├───clan-machine-nixos: NixOS module
│   ├───clan-machine-nixos-installer: NixOS module
│   ├───default: NixOS module
│   ├───docker: NixOS module
│   ├───flatpak: NixOS module
│   ├───github-mcp: NixOS module
│   ├───intel: NixOS module
│   ├───jovian: NixOS module
│   ├───kde: NixOS module
│   ├───lan: NixOS module
│   ├───motd: NixOS module
│   ├───nix: NixOS module
│   ├───nix-ld: NixOS module
│   ├───ollama: NixOS module
│   ├───openshell-gateway: NixOS module
│   ├───openssh: NixOS module
│   ├───rancher: NixOS module
│   ├───sound: NixOS module
│   ├───storagebox: NixOS module
│   ├───tailscale: NixOS module
│   ├───virtualization: NixOS module
│   ├───wan: NixOS module
│   ├───warp: NixOS module
│   ├───wayland: NixOS module
│   └───whisper-dictation: NixOS module
├───overlays
│   └───default: Nixpkgs overlay
├───packages
│   └───x86_64-linux
│       ├───artifacthub-mcp: package 'artifacthub-mcp-1.1.1'
│       ├───code-agent-image: package 'docker-image-code-agent.tar.gz'
│       ├───devShell: package 'devenv-shell'
│       ├───devenv-test: package 'devenv-test'
│       ├───devenv-up: package 'devenv-up'
│       ├───documentation: package 'mkdocs-flake-documentation'
│       ├───hcloud-ip: package 'hcloud-ip-v0.0.1'
│       ├───headroom: package 'headroom-ai-0.37.0'
│       ├───headroom-slim: package 'headroom-ai-0.37.0'
│       ├───kubernetes-mcp-server: package 'kubernetes-mcp-server-0.0.66'
│       ├───longhornctl: package 'longhornctl-v1.12.0'
│       ├───openshell: package 'openshell-0.1.2'
│       ├───openshell-driver-vm: package 'openshell-driver-vm-0.1.2'
│       ├───openshell-gateway: package 'openshell-gateway-0.1.2'
│       └───tfctl: package 'tfctl-0.16.4'
└───templates
    └───self: template: This Flake