commit 81051135e22e2ae489da68862e5ac81276f4f77b
parent a50c141f70dec624aece43bbf0ce841b801b24d9
Author: mtmn <miro@haravara.org>
Date: Fri, 8 May 2026 11:12:03 +0200
rename to shirts, add flakes
Diffstat:
16 files changed, 101 insertions(+), 0 deletions(-)
diff --git a/bandeno/flake.lock b/bandeno/flake.lock
@@ -0,0 +1,27 @@
+{
+ "nodes": {
+ "nixpkgs": {
+ "locked": {
+ "lastModified": 1778124196,
+ "narHash": "sha256-pYEytCNic/czazbV9r3tbQ6BZzqRBg/41x2dIC5ymOo=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "68a8af93ff4297686cb68880845e61e5e2e41d92",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "nixpkgs-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "root": {
+ "inputs": {
+ "nixpkgs": "nixpkgs"
+ }
+ }
+ },
+ "root": "root",
+ "version": 7
+}
diff --git a/bandeno/flake.nix b/bandeno/flake.nix
@@ -0,0 +1,19 @@
+{
+ inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
+
+ outputs = {nixpkgs, ...}: {
+ packages = nixpkgs.lib.genAttrs ["x86_64-linux" "aarch64-linux"] (system: let
+ pkgs = nixpkgs.legacyPackages.${system};
+ in {
+ default = pkgs.stdenv.mkDerivation {
+ pname = "bandeno";
+ version = "0.0.1";
+ src = ./.;
+ installPhase = ''
+ mkdir -p $out
+ cp -r . $out/
+ '';
+ };
+ });
+ };
+}
diff --git a/shirt_linkener/.gitignore b/shirts/.gitignore
diff --git a/shirt_linkener/BUILD b/shirts/BUILD
diff --git a/shirt_linkener/Containerfile b/shirts/Containerfile
diff --git a/shirt_linkener/Makefile b/shirts/Makefile
diff --git a/shirt_linkener/config/config.exs b/shirts/config/config.exs
diff --git a/shirt_linkener/config/runtime.exs b/shirts/config/runtime.exs
diff --git a/shirt_linkener/deploy b/shirts/deploy
diff --git a/shirts/flake.lock b/shirts/flake.lock
@@ -0,0 +1,27 @@
+{
+ "nodes": {
+ "nixpkgs": {
+ "locked": {
+ "lastModified": 1778124196,
+ "narHash": "sha256-pYEytCNic/czazbV9r3tbQ6BZzqRBg/41x2dIC5ymOo=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "68a8af93ff4297686cb68880845e61e5e2e41d92",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "nixpkgs-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "root": {
+ "inputs": {
+ "nixpkgs": "nixpkgs"
+ }
+ }
+ },
+ "root": "root",
+ "version": 7
+}
diff --git a/shirts/flake.nix b/shirts/flake.nix
@@ -0,0 +1,28 @@
+{
+ inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
+
+ outputs = {nixpkgs, ...}: {
+ packages = nixpkgs.lib.genAttrs ["x86_64-linux" "aarch64-linux"] (system: let
+ pkgs = nixpkgs.legacyPackages.${system};
+ in {
+ default = pkgs.beamPackages.mixRelease {
+ pname = "shortener";
+ version = "0.0.1";
+ src = ./.;
+
+ nativeBuildInputs = [pkgs.beamPackages.elixir_1_18];
+
+ MIX_HOME = "nix-mix";
+ HEX_HOME = "nix-hex";
+ ELIXIR_MAKE_CACHE_DIR = "nix-elixir-make";
+
+ mixFodDeps = pkgs.beamPackages.fetchMixDeps {
+ pname = "shortener-deps";
+ version = "0.0.1";
+ src = ./.;
+ sha256 = "sha256-U/tNP3s7b4bBUrQx5l4VtDHpV9DsWj6zBYj8jsM4Acw=";
+ };
+ };
+ });
+ };
+}
diff --git a/shirt_linkener/lib/shortener/application.ex b/shirts/lib/shortener/application.ex
diff --git a/shirt_linkener/lib/shortener/db.ex b/shirts/lib/shortener/db.ex
diff --git a/shirt_linkener/lib/shortener/router.ex b/shirts/lib/shortener/router.ex
diff --git a/shirt_linkener/mix.exs b/shirts/mix.exs
diff --git a/shirt_linkener/mix.lock b/shirts/mix.lock