refactor(flake): split assembly by concept

This commit is contained in:
2026-08-29 17:05:43 -04:00
parent 6f0f586fb6
commit 647b20b934
14 changed files with 149 additions and 97 deletions

View File

@@ -1,7 +1,7 @@
{
config,
lib,
dotfiles,
flake,
...
}:
let
@@ -10,7 +10,7 @@ let
in
{
imports = [
(dotfiles.guest {
(flake.mkGuest {
name = "actualbudget";
interior = {
modules.services.actualbudget = {

View File

@@ -1,7 +1,7 @@
{
config,
lib,
dotfiles,
flake,
...
}:
let
@@ -35,7 +35,7 @@ let
in
{
imports = [
(dotfiles.guest {
(flake.mkGuest {
name = "copyparty";
interior = {
modules.services.copyparty = {

View File

@@ -1,7 +1,7 @@
args@{ dotfiles, ... }:
args@{ flake, ... }:
# A sample guest whose interior runs an OCI container on Podman.
# The image is pulled at runtime, so the guest builds with no build-time fetch.
dotfiles.guest {
flake.mkGuest {
name = "nesting-sample";
interior = {
virtualisation.oci-containers.containers.hello = {

View File

@@ -1,7 +1,7 @@
{
config,
lib,
dotfiles,
flake,
...
}:
let
@@ -9,7 +9,7 @@ let
in
{
imports = [
(dotfiles.guest {
(flake.mkGuest {
name = "reverse-proxy";
interior = {
modules.services.reverse-proxy.enable = true;

View File

@@ -1,5 +1,5 @@
args@{ dotfiles, ... }:
args@{ flake, ... }:
# The tracer-bullet guest: the thinnest complete path from discovery to a
# running nested container. Its interior is just the guest-base — the baseline
# toolset and SSH access — so it proves the concept without carrying a service.
dotfiles.guest { name = "sample"; } args
flake.mkGuest { name = "sample"; } args