Home

ugit @main - refs - log -
-
https://git.jolheiser.com/ugit.git
The code powering this h*ckin' site
tree log patch
chore: use yaml generator for flake Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmWlu6QACgkQuFOtpdp7 v3osEQ//SXHc13+2k+oJ3li3k+qjyJwpENEetqYq8bII8TrkhWboJYewKaXUN/08 rabgpLN+1ghjPOJ3B6zliYiDg0s97x8YkccxEoHkN15t/hyH6T3ybbwkjxeIkI1x uxeMGbxdhk9hF19KS595hIQ5d4wMVMtGcunhOOAxSJmRqu67lPVDI+eV6ZFt2fLG Gm3KGnmi9udQpVJzYGB/8yOklKLF8NXsMXs45HPrGJEOPVo6ab6DJnQhON4nYD+B 5LHbebe81TsOBMwpBZsoyEbw7Cbbapc05RGY6jF7DvZke8pCol5ulEKYGKAOUduZ frD5cqNUpRYqipI3Et6l2LkP0q9Wj19D1XGWOqmKGQzXzrZP5FfK4Si38WYKwX4W Q+lfWPufjGDmPHZtEHls3Tq+IqlSyzitnY3btAgKypNmYOHB0+KdFjDIPGLHG7/p o49cp/c7Y6n5nXXPif+GOXROOw1WBpC6tp9+G6rIxPrFAzfGTzxOYJqdPSYryCoP fYguML1wisz9i3RXObLXekt387M8AK2bcMKDemB3fKIb//UtcyDjSaH9AcGqLJK/ Wo0NNnqEI8gz12bWTt+m6pd32ztqakvYhdfLnP87ckrDqrmxnyNN8ONDJCXGfljY 8cNo0GT5mzj2U2tTTLBH1bZPchkHcF0giN2xprxUqb3TN7cwBtY= =A+GF -----END PGP SIGNATURE-----
jolheiser <john.olheiser@gmail.com>
7 months ago
1 changed files, 6 additions(+), 4 deletions(-)
M flake.nix -> flake.nix
diff --git a/flake.nix b/flake.nix
index cdcff1f7b1fcd2efa8f0122da5998941ba0aee32..f9c52d0f7d42103274b68ff8a46d7a2c022dd0e1 100644
--- a/flake.nix
+++ b/flake.nix
@@ -58,7 +58,8 @@       config,
       ...
     }: let
       cfg = config.services.ugit;
-      configFile = pkgs.writeText "ugit.yaml" cfg.configFile;
+      yamlFormat = pkgs.formats.yaml {};
+      configFile = pkgs.writeText "ugit.yaml" (builtins.readFile (yamlFormat.generate "ugit-yaml" cfg.config));
       authorizedKeysFile = pkgs.writeText "ugit_keys" (builtins.concatStringsSep "\n" cfg.authorizedKeys);
     in {
       options = with lib; {
@@ -95,12 +96,13 @@             description = "path to host key file (will be created if it doesn't exist)";
             default = "/var/lib/ugit/ugit_ed25519";
           };
 
-      inputs.nixpkgs.follows = "nixpkgs";
 {
+      version = "0.0.1";
+  };
     tailwind-ctp = {
-      inputs.nixpkgs.follows = "nixpkgs";
-      inputs.nixpkgs.follows = "nixpkgs";
+{
   description = "Minimal git server";
+      url = "git+https://git.jojodev.com/jolheiser/tailwind-ctp";
             description = "config.yaml contents";
           };