Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Declarative infrastructure for my hobbyist datacenter.

License

NotificationsYou must be signed in to change notification settings

PsychoLlama/home-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A set ofNixOS modules for building your own on-premise cloud (according to a hobbyist).

Project Status

🚧 Under Construction 🚧

This is undergoing a rewrite to incorporate learnings from a few years of working with NixOS. Seeye-olden-days for a more elaborate, albiet messy example.

Components

Router

The router module configures a router (nat, dhcp, dns, ...) and manages the network for everything else in the lab.

File Server

The file storage module manages ZFS pools and datasets. A host profile attaches Syncthing and adds snapshotting.

Project Structure

  • platforms/nixos/modules/lab: Unopinionated "library" modules for building a home lab.
  • platforms/nixos/tests: Virtual machine tests for services inmodules/lab.
  • platforms/nixos/modules/lab/profiles: Opinionated configurations.
  • hosts: Per-host configurations. They are thin wrappers around profiles.

Tests can be executed by entering a dev shell and runningproject test <drv_path>:

# Example:projecttest filesystems.zfs

To cripple your machine by running all tests, do:

nix build --verbose'.#tests'

Inspiration

The Nix Tradition is reading source code until you figure it out. Here are resources that helped me.

About

Declarative infrastructure for my hobbyist datacenter.

Topics

Resources

License

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp