add spindle to nixery box #1

merged
opened by oppi.li targeting master
Changed files
+168 -2
hosts
+157 -1
flake.lock
···
"type": "github"
}
},
+
"gitignore": {
+
"inputs": {
+
"nixpkgs": [
+
"tangled",
+
"nixpkgs"
+
]
+
},
+
"locked": {
+
"lastModified": 1709087332,
+
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
+
"owner": "hercules-ci",
+
"repo": "gitignore.nix",
+
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
+
"type": "github"
+
},
+
"original": {
+
"owner": "hercules-ci",
+
"repo": "gitignore.nix",
+
"type": "github"
+
}
+
},
+
"htmx-src": {
+
"flake": false,
+
"locked": {
+
"narHash": "sha256-nm6avZuEBg67SSyyZUhjpXVNstHHgUxrtBHqJgowU08=",
+
"type": "file",
+
"url": "https://unpkg.com/htmx.org@2.0.4/dist/htmx.min.js"
+
},
+
"original": {
+
"type": "file",
+
"url": "https://unpkg.com/htmx.org@2.0.4/dist/htmx.min.js"
+
}
+
},
+
"htmx-ws-src": {
+
"flake": false,
+
"locked": {
+
"narHash": "sha256-2fg6KyEJoO24q0fQqbz9RMaYNPQrMwpZh29tkSqdqGY=",
+
"type": "file",
+
"url": "https://cdn.jsdelivr.net/npm/htmx-ext-ws@2.0.2"
+
},
+
"original": {
+
"type": "file",
+
"url": "https://cdn.jsdelivr.net/npm/htmx-ext-ws@2.0.2"
+
}
+
},
+
"ibm-plex-mono-src": {
+
"flake": false,
+
"locked": {
+
"lastModified": 1731402384,
+
"narHash": "sha256-OwUmrPfEehLDz0fl2ChYLK8FQM2p0G1+EMrGsYEq+6g=",
+
"type": "tarball",
+
"url": "https://github.com/IBM/plex/releases/download/@ibm/plex-mono@1.1.0/ibm-plex-mono.zip"
+
},
+
"original": {
+
"type": "tarball",
+
"url": "https://github.com/IBM/plex/releases/download/@ibm/plex-mono@1.1.0/ibm-plex-mono.zip"
+
}
+
},
+
"indigo": {
+
"flake": false,
+
"locked": {
+
"lastModified": 1745333930,
+
"narHash": "sha256-83fIHqDE+dfnZ88HaNuwfKFO+R0RKAM1WxMfNh/Matk=",
+
"owner": "oppiliappan",
+
"repo": "indigo",
+
"rev": "e4e59280737b8676611fc077a228d47b3e8e9491",
+
"type": "github"
+
},
+
"original": {
+
"owner": "oppiliappan",
+
"repo": "indigo",
+
"type": "github"
+
}
+
},
+
"inter-fonts-src": {
+
"flake": false,
+
"locked": {
+
"lastModified": 1731687360,
+
"narHash": "sha256-5vdKKvHAeZi6igrfpbOdhZlDX2/5+UvzlnCQV6DdqoQ=",
+
"type": "tarball",
+
"url": "https://github.com/rsms/inter/releases/download/v4.1/Inter-4.1.zip"
+
},
+
"original": {
+
"type": "tarball",
+
"url": "https://github.com/rsms/inter/releases/download/v4.1/Inter-4.1.zip"
+
}
+
},
+
"lucide-src": {
+
"flake": false,
+
"locked": {
+
"lastModified": 1742302029,
+
"narHash": "sha256-OyPVtpnC4/AAmPq84Wt1r1Gcs48d9KG+UBCtZK87e9k=",
+
"type": "tarball",
+
"url": "https://github.com/lucide-icons/lucide/releases/download/0.483.0/lucide-icons-0.483.0.zip"
+
},
+
"original": {
+
"type": "tarball",
+
"url": "https://github.com/lucide-icons/lucide/releases/download/0.483.0/lucide-icons-0.483.0.zip"
+
}
+
},
"nixery-flake": {
"flake": false,
"locked": {
···
"type": "github"
}
},
+
"nixpkgs_3": {
+
"locked": {
+
"lastModified": 1746904237,
+
"narHash": "sha256-3e+AVBczosP5dCLQmMoMEogM57gmZ2qrVSrmq9aResQ=",
+
"owner": "nixos",
+
"repo": "nixpkgs",
+
"rev": "d89fc19e405cb2d55ce7cc114356846a0ee5e956",
+
"type": "github"
+
},
+
"original": {
+
"owner": "nixos",
+
"ref": "nixos-unstable",
+
"repo": "nixpkgs",
+
"type": "github"
+
}
+
},
"root": {
"inputs": {
"colmena": "colmena",
"disko": "disko",
"nixery-flake": "nixery-flake",
-
"nixpkgs": "nixpkgs_2"
+
"nixpkgs": "nixpkgs_2",
+
"tangled": "tangled"
+
}
+
},
+
"sqlite-lib-src": {
+
"flake": false,
+
"locked": {
+
"lastModified": 1706631843,
+
"narHash": "sha256-bJoMjirsBjm2Qk9KPiy3yV3+8b/POlYe76/FQbciHro=",
+
"type": "tarball",
+
"url": "https://sqlite.org/2024/sqlite-amalgamation-3450100.zip"
+
},
+
"original": {
+
"type": "tarball",
+
"url": "https://sqlite.org/2024/sqlite-amalgamation-3450100.zip"
}
},
"stable": {
···
"repo": "nixpkgs",
"type": "github"
}
+
},
+
"tangled": {
+
"inputs": {
+
"gitignore": "gitignore",
+
"htmx-src": "htmx-src",
+
"htmx-ws-src": "htmx-ws-src",
+
"ibm-plex-mono-src": "ibm-plex-mono-src",
+
"indigo": "indigo",
+
"inter-fonts-src": "inter-fonts-src",
+
"lucide-src": "lucide-src",
+
"nixpkgs": "nixpkgs_3",
+
"sqlite-lib-src": "sqlite-lib-src"
+
},
+
"locked": {
+
"lastModified": 1751887204,
+
"narHash": "sha256-ZWSyoH2zN6mJQYUzWnycoPIqY+S5HK5dXWvf6/4YMrg=",
+
"ref": "refs/heads/master",
+
"rev": "bcf82fd393c9c7db455a7a948d315ba1c20f7f52",
+
"revCount": 878,
+
"type": "git",
+
"url": "https://tangled.sh/@tangled.sh/core"
+
},
+
"original": {
+
"type": "git",
+
"url": "https://tangled.sh/@tangled.sh/core"
+
}
}
},
"root": "root",
+3 -1
flake.nix
···
description = "nix infra for tangled";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
+
tangled.url = "git+https://tangled.sh/@tangled.sh/core";
colmena.url = "github:zhaofengli/colmena/release-0.4.x";
disko = {
url = "github:nix-community/disko";
···
};
outputs =
-
{ nixpkgs, disko, colmena, nixery-flake, ... }:
+
{ nixpkgs, disko, colmena, nixery-flake, tangled, ... }:
{
nixosConfigurations.nixery = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
disko.nixosModules.disko
+
tangled.nixosModules.spindle
./hosts/nixery/configuration.nix
];
};
+8
hosts/nixery/configuration.nix
···
networking.hostName = "nixery";
services = {
openssh.enable = true;
+
tangled-spindle = {
+
enable = true;
+
server = {
+
owner = "did:plc:hwevmowznbiukdf6uk5dwrrq";
+
hostname = "spindle.tangled.sh";
+
listenAddr = "0.0.0.0:6555";
+
};
+
};
};
virtualisation.docker = {