From cfca836cf7d7f2260b4e46ac6bf958f692b53057 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Mon, 1 Sep 2025 15:13:39 +0200 Subject: [PATCH] Baldur: cute-api --- flake.lock | 946 ++++++++++++++++++++++++++++- flake.nix | 3 + instances/baldur/configuration.nix | 7 + 3 files changed, 942 insertions(+), 14 deletions(-) diff --git a/flake.lock b/flake.lock index 3a2b420..2b8bb64 100644 --- a/flake.lock +++ b/flake.lock @@ -5,6 +5,8 @@ "darwin": "darwin", "home-manager": "home-manager_2", "nixpkgs": [ + "cute-api", + "dotfiles", "ragenix", "nixpkgs" ], @@ -24,6 +26,30 @@ "type": "github" } }, + "agenix_2": { + "inputs": { + "darwin": "darwin_2", + "home-manager": "home-manager_4", + "nixpkgs": [ + "ragenix", + "nixpkgs" + ], + "systems": "systems_10" + }, + "locked": { + "lastModified": 1736955230, + "narHash": "sha256-uenf8fv2eG5bKM8C/UvFaiJMZ4IpUFaQxk9OH5t/1gA=", + "owner": "ryantm", + "repo": "agenix", + "rev": "e600439ec4c273cf11e06fe4d9d906fb98fa097c", + "type": "github" + }, + "original": { + "owner": "ryantm", + "repo": "agenix", + "type": "github" + } + }, "crane": { "locked": { "lastModified": 1741481578, @@ -39,7 +65,84 @@ "type": "github" } }, + "crane_2": { + "locked": { + "lastModified": 1741481578, + "narHash": "sha256-JBTSyJFQdO3V8cgcL08VaBUByEU6P5kXbTJN6R0PFQo=", + "owner": "ipetkov", + "repo": "crane", + "rev": "bb1c9567c43e4434f54e9481eb4b8e8e0d50f0b5", + "type": "github" + }, + "original": { + "owner": "ipetkov", + "repo": "crane", + "type": "github" + } + }, + "cute-api": { + "inputs": { + "dotfiles": "dotfiles", + "flake-parts": [ + "cute-api", + "dotfiles", + "flake-parts" + ], + "git-hooks": [ + "cute-api", + "dotfiles", + "git-hooks" + ], + "naersk": "naersk", + "nixpkgs": [ + "cute-api", + "dotfiles", + "nixpkgs" + ], + "systems": "systems_6", + "utils": "utils_2" + }, + "locked": { + "lastModified": 1756736083, + "narHash": "sha256-I1pnOJzo8ksIsJL0cBYXVtdBQG+SSc04gzNqIe6Oi5Y=", + "ref": "main", + "rev": "327cf6fb45e559291d88e75318f06b98b9d195a0", + "revCount": 5, + "type": "git", + "url": "ssh://git@gitlab.com/bertof/cute-api.git" + }, + "original": { + "ref": "main", + "type": "git", + "url": "ssh://git@gitlab.com/bertof/cute-api.git" + } + }, "darwin": { + "inputs": { + "nixpkgs": [ + "cute-api", + "dotfiles", + "ragenix", + "agenix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1700795494, + "narHash": "sha256-gzGLZSiOhf155FW7262kdHo2YDeugp3VuIFb4/GGng0=", + "owner": "lnl7", + "repo": "nix-darwin", + "rev": "4b9b83d5a92e8c1fbfd8eb27eda375908c11ec4d", + "type": "github" + }, + "original": { + "owner": "lnl7", + "ref": "master", + "repo": "nix-darwin", + "type": "github" + } + }, + "darwin_2": { "inputs": { "nixpkgs": [ "ragenix", @@ -66,6 +169,8 @@ "inputs": { "flake-compat": "flake-compat", "nixpkgs": [ + "cute-api", + "dotfiles", "nixpkgs" ], "utils": "utils" @@ -84,6 +189,86 @@ "type": "github" } }, + "deploy-rs_2": { + "inputs": { + "flake-compat": "flake-compat_5", + "nixpkgs": [ + "nixpkgs" + ], + "utils": "utils_3" + }, + "locked": { + "lastModified": 1749105467, + "narHash": "sha256-hXh76y/wDl15almBcqvjryB50B0BaiXJKk20f314RoE=", + "owner": "serokell", + "repo": "deploy-rs", + "rev": "6bc76b872374845ba9d645a2f012b764fecd765f", + "type": "github" + }, + "original": { + "owner": "serokell", + "repo": "deploy-rs", + "type": "github" + } + }, + "dotfiles": { + "inputs": { + "deploy-rs": "deploy-rs", + "flake-compat": "flake-compat_2", + "flake-parts": "flake-parts", + "git-hooks": "git-hooks", + "home-manager": "home-manager", + "home-manager-u": "home-manager-u", + "nix-rice": "nix-rice", + "nixos-generators": "nixos-generators", + "nixos-hardware": "nixos-hardware", + "nixpkgs": [ + "cute-api", + "dotfiles", + "nixpkgs-u" + ], + "nixpkgs-s": "nixpkgs-s", + "nixpkgs-u": "nixpkgs-u", + "ragenix": "ragenix", + "systems": "systems_5" + }, + "locked": { + "lastModified": 1756495759, + "narHash": "sha256-AlIcmeyK+iPJDy1iRBAeyZnq/Vu8h9AT1xOJAbezTwA=", + "owner": "bertof", + "repo": "nix-dotfiles", + "rev": "0ff41dc2a911e0c11954b2eb738ec57c7ff27993", + "type": "gitlab" + }, + "original": { + "owner": "bertof", + "repo": "nix-dotfiles", + "type": "gitlab" + } + }, + "fenix": { + "inputs": { + "nixpkgs": [ + "cute-api", + "naersk", + "nixpkgs" + ], + "rust-analyzer-src": "rust-analyzer-src" + }, + "locked": { + "lastModified": 1752475459, + "narHash": "sha256-z6QEu4ZFuHiqdOPbYss4/Q8B0BFhacR8ts6jO/F/aOU=", + "owner": "nix-community", + "repo": "fenix", + "rev": "bf0d6f70f4c9a9cf8845f992105652173f4b617f", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "fenix", + "type": "github" + } + }, "flake-compat": { "flake": false, "locked": { @@ -146,6 +331,68 @@ "type": "github" } }, + "flake-compat_5": { + "flake": false, + "locked": { + "lastModified": 1733328505, + "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_6": { + "locked": { + "lastModified": 1733328505, + "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", + "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", + "revCount": 69, + "type": "tarball", + "url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz" + } + }, + "flake-compat_7": { + "flake": false, + "locked": { + "lastModified": 1747046372, + "narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_8": { + "flake": false, + "locked": { + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, "flake-parts": { "inputs": { "nixpkgs-lib": "nixpkgs-lib" @@ -182,6 +429,42 @@ "type": "github" } }, + "flake-parts_3": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_4" + }, + "locked": { + "lastModified": 1754487366, + "narHash": "sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "af66ad14b28a127c5c0f3bbb298218fc63528a18", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_4": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_5" + }, + "locked": { + "lastModified": 1741352980, + "narHash": "sha256-+u2UunDA4Cl5Fci3m7S643HzKmIDAe+fiXrLqYsR2fs=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "f4330d22f1c5d2ba72d3d22df5597d123fdb60a9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, "flake-utils": { "inputs": { "systems": "systems_4" @@ -200,6 +483,24 @@ "type": "github" } }, + "flake-utils_2": { + "inputs": { + "systems": "systems_11" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "git-hooks": { "inputs": { "flake-compat": "flake-compat_3", @@ -240,7 +541,94 @@ "type": "github" } }, + "git-hooks-nix_2": { + "inputs": { + "flake-compat": "flake-compat_8", + "gitignore": "gitignore_4", + "nixpkgs": "nixpkgs_6" + }, + "locked": { + "lastModified": 1742649964, + "narHash": "sha256-DwOTp7nvfi8mRfuL1escHDXabVXFGT1VlPD1JHrtrco=", + "owner": "cachix", + "repo": "git-hooks.nix", + "rev": "dcf5072734cb576d2b0c59b2ac44f5050b5eac82", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "git-hooks.nix", + "type": "github" + } + }, + "git-hooks_2": { + "inputs": { + "flake-compat": "flake-compat_7", + "gitignore": "gitignore_3", + "nixpkgs": "nixpkgs_5" + }, + "locked": { + "lastModified": 1755960406, + "narHash": "sha256-RF7j6C1TmSTK9tYWO6CdEMtg6XZaUKcvZwOCD2SICZs=", + "owner": "cachix", + "repo": "git-hooks.nix", + "rev": "e891a93b193fcaf2fc8012d890dc7f0befe86ec2", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "git-hooks.nix", + "type": "github" + } + }, "gitignore": { + "inputs": { + "nixpkgs": [ + "cute-api", + "dotfiles", + "git-hooks", + "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" + } + }, + "gitignore_2": { + "inputs": { + "nixpkgs": [ + "cute-api", + "dotfiles", + "nix-rice", + "git-hooks-nix", + "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" + } + }, + "gitignore_3": { "inputs": { "nixpkgs": [ "git-hooks", @@ -261,7 +649,7 @@ "type": "github" } }, - "gitignore_2": { + "gitignore_4": { "inputs": { "nixpkgs": [ "nix-rice", @@ -286,6 +674,8 @@ "home-manager": { "inputs": { "nixpkgs": [ + "cute-api", + "dotfiles", "nixpkgs-s" ] }, @@ -305,6 +695,28 @@ } }, "home-manager-u": { + "inputs": { + "nixpkgs": [ + "cute-api", + "dotfiles", + "nixpkgs-u" + ] + }, + "locked": { + "lastModified": 1756261190, + "narHash": "sha256-eiy0klFK5EVJLNilutR7grsZN/7Itj9DyD75eyOf83k=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "77f348da3176dc68b20a73dab94852a417daf361", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "home-manager", + "type": "github" + } + }, + "home-manager-u_2": { "inputs": { "nixpkgs": [ "nixpkgs-u" @@ -325,6 +737,51 @@ } }, "home-manager_2": { + "inputs": { + "nixpkgs": [ + "cute-api", + "dotfiles", + "ragenix", + "agenix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1703113217, + "narHash": "sha256-7ulcXOk63TIT2lVDSExj7XzFx09LpdSAPtvgtM7yQPE=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "3bfaacf46133c037bb356193bd2f1765d9dc82c1", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "home-manager", + "type": "github" + } + }, + "home-manager_3": { + "inputs": { + "nixpkgs": [ + "nixpkgs-s" + ] + }, + "locked": { + "lastModified": 1747688870, + "narHash": "sha256-ypL9WAZfmJr5V70jEVzqGjjQzF0uCkz+AFQF7n9NmNc=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "d5f1f641b289553927b3801580598d200a501863", + "type": "github" + }, + "original": { + "owner": "nix-community", + "ref": "release-24.11", + "repo": "home-manager", + "type": "github" + } + }, + "home-manager_4": { "inputs": { "nixpkgs": [ "ragenix", @@ -362,6 +819,42 @@ "type": "github" } }, + "kitty-themes-src_2": { + "flake": false, + "locked": { + "lastModified": 1741842173, + "narHash": "sha256-+TVbsry9ENYRvT/Hqa6oBEym3b2c2DrgVhUtBJH5Q6w=", + "owner": "kovidgoyal", + "repo": "kitty-themes", + "rev": "6e8f7f84e09591620c298708863577dffb4c8704", + "type": "github" + }, + "original": { + "owner": "kovidgoyal", + "repo": "kitty-themes", + "type": "github" + } + }, + "naersk": { + "inputs": { + "fenix": "fenix", + "nixpkgs": "nixpkgs_4" + }, + "locked": { + "lastModified": 1752689277, + "narHash": "sha256-uldUBFkZe/E7qbvxa3mH1ItrWZyT6w1dBKJQF/3ZSsc=", + "owner": "nix-community", + "repo": "naersk", + "rev": "0e72363d0938b0208d6c646d10649164c43f4d64", + "type": "github" + }, + "original": { + "owner": "nix-community", + "ref": "master", + "repo": "naersk", + "type": "github" + } + }, "nix-rice": { "inputs": { "flake-parts": "flake-parts_2", @@ -386,6 +879,30 @@ "type": "github" } }, + "nix-rice_2": { + "inputs": { + "flake-parts": "flake-parts_4", + "git-hooks-nix": "git-hooks-nix_2", + "kitty-themes-src": "kitty-themes-src_2", + "nixpkgs": "nixpkgs_7", + "nixpkgs-lib": "nixpkgs-lib_6", + "systems": "systems_9" + }, + "locked": { + "lastModified": 1742907657, + "narHash": "sha256-WrzQeHAgzQCgrkvhTGtvsVpMyF+2M3pwqNiLcxzroyI=", + "owner": "bertof", + "repo": "nix-rice", + "rev": "06a250c72db98f7fb40bcb7214e6cef34c87a352", + "type": "github" + }, + "original": { + "owner": "bertof", + "ref": "modules", + "repo": "nix-rice", + "type": "github" + } + }, "nixlib": { "locked": { "lastModified": 1736643958, @@ -401,9 +918,47 @@ "type": "github" } }, + "nixlib_2": { + "locked": { + "lastModified": 1736643958, + "narHash": "sha256-tmpqTSWVRJVhpvfSN9KXBvKEXplrwKnSZNAoNPf/S/s=", + "owner": "nix-community", + "repo": "nixpkgs.lib", + "rev": "1418bc28a52126761c02dd3d89b2d8ca0f521181", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixpkgs.lib", + "type": "github" + } + }, "nixos-generators": { "inputs": { "nixlib": "nixlib", + "nixpkgs": [ + "cute-api", + "dotfiles", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1751903740, + "narHash": "sha256-PeSkNMvkpEvts+9DjFiop1iT2JuBpyknmBUs0Un0a4I=", + "owner": "nix-community", + "repo": "nixos-generators", + "rev": "032decf9db65efed428afd2fa39d80f7089085eb", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixos-generators", + "type": "github" + } + }, + "nixos-generators_2": { + "inputs": { + "nixlib": "nixlib_2", "nixpkgs": [ "nixpkgs" ] @@ -437,6 +992,21 @@ "type": "github" } }, + "nixos-hardware_2": { + "locked": { + "lastModified": 1756245047, + "narHash": "sha256-9bHzrVbjAudbO8q4vYFBWlEkDam31fsz0J7GB8k4AsI=", + "owner": "NixOS", + "repo": "nixos-hardware", + "rev": "a65b650d6981e23edd1afa1f01eb942f19cdcbb7", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "nixos-hardware", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1754340878, @@ -498,6 +1068,51 @@ "type": "github" } }, + "nixpkgs-lib_4": { + "locked": { + "lastModified": 1753579242, + "narHash": "sha256-zvaMGVn14/Zz8hnp4VWT9xVnhc8vuL3TStRqwk22biA=", + "owner": "nix-community", + "repo": "nixpkgs.lib", + "rev": "0f36c44e01a6129be94e3ade315a5883f0228a6e", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixpkgs.lib", + "type": "github" + } + }, + "nixpkgs-lib_5": { + "locked": { + "lastModified": 1740877520, + "narHash": "sha256-oiwv/ZK/2FhGxrCkQkB83i7GnWXPPLzoqFHpDD3uYpk=", + "owner": "nix-community", + "repo": "nixpkgs.lib", + "rev": "147dee35aab2193b174e4c0868bd80ead5ce755c", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixpkgs.lib", + "type": "github" + } + }, + "nixpkgs-lib_6": { + "locked": { + "lastModified": 1742692082, + "narHash": "sha256-s3XOULQj7BVO7myY5V4Sob0tRZ7nRpwEOIzXg/MkD/Q=", + "owner": "nix-community", + "repo": "nixpkgs.lib", + "rev": "a09310bc940f245e51b1ffea68731244ca38f2bd", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixpkgs.lib", + "type": "github" + } + }, "nixpkgs-s": { "locked": { "lastModified": 1756420716, @@ -514,6 +1129,22 @@ "type": "github" } }, + "nixpkgs-s_2": { + "locked": { + "lastModified": 1756420716, + "narHash": "sha256-GyjgiIodOPxDPRchxp/SeZpgLqH12z7pBBBlxkkGtbA=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "a3725bf81b116a08b4e38accd983966b4d08d261", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "release-25.05", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs-u": { "locked": { "lastModified": 1756266583, @@ -530,6 +1161,22 @@ "type": "github" } }, + "nixpkgs-u_2": { + "locked": { + "lastModified": 1756266583, + "narHash": "sha256-cr748nSmpfvnhqSXPiCfUPxRz2FJnvf/RjJGvFfaCsM=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "8a6d5427d99ec71c64f0b93d45778c889005d9c2", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs_2": { "locked": { "lastModified": 1730768919, @@ -561,12 +1208,77 @@ "type": "github" } }, + "nixpkgs_4": { + "locked": { + "lastModified": 1752077645, + "narHash": "sha256-HM791ZQtXV93xtCY+ZxG1REzhQenSQO020cu6rHtAPk=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "be9e214982e20b8310878ac2baa063a961c1bdf6", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_5": { + "locked": { + "lastModified": 1754340878, + "narHash": "sha256-lgmUyVQL9tSnvvIvBp7x1euhkkCho7n3TMzgjdvgPoU=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "cab778239e705082fe97bb4990e0d24c50924c04", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_6": { + "locked": { + "lastModified": 1730768919, + "narHash": "sha256-8AKquNnnSaJRXZxc5YmF/WfmxiHX6MMZZasRP6RRQkE=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "a04d33c0c3f1a59a2c1cb0c6e34cd24500e5a1dc", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_7": { + "locked": { + "lastModified": 1742907609, + "narHash": "sha256-V8BiKso8ffRuN243R5qtacQcY7rSz40x/c4Z8zhoQBU=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "dad0bf139b2db8d258deb21424454db24285d531", + "type": "github" + }, + "original": { + "owner": "nixos", + "repo": "nixpkgs", + "type": "github" + } + }, "ragenix": { "inputs": { "agenix": "agenix", "crane": "crane", "flake-utils": "flake-utils", "nixpkgs": [ + "cute-api", + "dotfiles", "nixpkgs" ], "rust-overlay": "rust-overlay" @@ -585,27 +1297,92 @@ "type": "github" } }, + "ragenix_2": { + "inputs": { + "agenix": "agenix_2", + "crane": "crane_2", + "flake-utils": "flake-utils_2", + "nixpkgs": [ + "nixpkgs" + ], + "rust-overlay": "rust-overlay_2" + }, + "locked": { + "lastModified": 1744897914, + "narHash": "sha256-GIVU92o2TZBnKQXTb76zpQbWR4zjU2rFqWKNIIpXnqA=", + "owner": "yaxitech", + "repo": "ragenix", + "rev": "40f2e17ecaeab4d78ec323e96a04548c0aaa5223", + "type": "github" + }, + "original": { + "owner": "yaxitech", + "repo": "ragenix", + "type": "github" + } + }, "root": { "inputs": { - "deploy-rs": "deploy-rs", - "flake-compat": "flake-compat_2", - "flake-parts": "flake-parts", - "git-hooks": "git-hooks", - "home-manager": "home-manager", - "home-manager-u": "home-manager-u", - "nix-rice": "nix-rice", - "nixos-generators": "nixos-generators", - "nixos-hardware": "nixos-hardware", + "cute-api": "cute-api", + "deploy-rs": "deploy-rs_2", + "flake-compat": "flake-compat_6", + "flake-parts": "flake-parts_3", + "git-hooks": "git-hooks_2", + "home-manager": "home-manager_3", + "home-manager-u": "home-manager-u_2", + "nix-rice": "nix-rice_2", + "nixos-generators": "nixos-generators_2", + "nixos-hardware": "nixos-hardware_2", "nixpkgs": [ "nixpkgs-u" ], - "nixpkgs-s": "nixpkgs-s", - "nixpkgs-u": "nixpkgs-u", - "ragenix": "ragenix", - "systems": "systems_5" + "nixpkgs-s": "nixpkgs-s_2", + "nixpkgs-u": "nixpkgs-u_2", + "ragenix": "ragenix_2", + "systems": "systems_12" + } + }, + "rust-analyzer-src": { + "flake": false, + "locked": { + "lastModified": 1752428706, + "narHash": "sha256-EJcdxw3aXfP8Ex1Nm3s0awyH9egQvB2Gu+QEnJn2Sfg=", + "owner": "rust-lang", + "repo": "rust-analyzer", + "rev": "591e3b7624be97e4443ea7b5542c191311aa141d", + "type": "github" + }, + "original": { + "owner": "rust-lang", + "ref": "nightly", + "repo": "rust-analyzer", + "type": "github" } }, "rust-overlay": { + "inputs": { + "nixpkgs": [ + "cute-api", + "dotfiles", + "ragenix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1741400194, + "narHash": "sha256-tEpgT+q5KlGjHSm8MnINgTPErEl8YDzX3Eps8PVc09g=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "16b6045a232fea0e9e4c69e55a6e269607dd8e3f", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, + "rust-overlay_2": { "inputs": { "nixpkgs": [ "ragenix", @@ -641,6 +1418,51 @@ "type": "github" } }, + "systems_10": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_11": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_12": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "systems_2": { "locked": { "lastModified": 1681028828, @@ -701,6 +1523,66 @@ "type": "github" } }, + "systems_6": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_7": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_8": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_9": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "utils": { "inputs": { "systems": "systems" @@ -718,6 +1600,42 @@ "repo": "flake-utils", "type": "github" } + }, + "utils_2": { + "inputs": { + "systems": "systems_7" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "utils_3": { + "inputs": { + "systems": "systems_8" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index c9efe99..999d920 100644 --- a/flake.nix +++ b/flake.nix @@ -21,6 +21,7 @@ # agenix-shell.url = "github:aciceri/agenix-shell"; # TODO # agenix-rekey.url = "github:oddlama/agenix-rekey"; # TODO # emanote.url = "github:srid/emanote"; + cute-api.url = "git+ssh://git@gitlab.com/bertof/cute-api.git?ref=main"; }; outputs = inputs: @@ -395,6 +396,8 @@ # ./modules/nixos/users/tiziano.nix # S3 cache read # ./modules/nixos/s3_cache_read.nix + inputs.cute-api.nixosModules.default + { services.cute-api = { enable = true; host = "127.0.0.1"; }; } ] ++ homeManagerUModules ++ [{ home-manager.users.bertof = import ./instances/baldur/hm.nix; # home-manager.users.tiziano = import ./instances/baldur/hm_tiziano.nix; diff --git a/instances/baldur/configuration.nix b/instances/baldur/configuration.nix index d34ce59..08ca896 100644 --- a/instances/baldur/configuration.nix +++ b/instances/baldur/configuration.nix @@ -113,6 +113,7 @@ proxy_buffering off; ''; }; + # "ntfy.bertof.net" = ssl // { # locations."/" = { # proxyPass = "http://heimdall.tsn:7080/"; @@ -164,6 +165,12 @@ proxyWebsockets = true; }; }; + "cute.bertof.net" = ssl // { + locations."/" = { + proxyPass = "http://127.0.0.1:4000/"; + proxyWebsockets = true; + }; + }; "jellyfin.bertof.net" = ssl // { locations."/" = { proxyPass = "http://heimdall.tsn:8096/";