diff --git a/flake.nix b/flake.nix index f9c52d0f7d42103274b68ff8a46d7a2c022dd0e1..cdcff1f7b1fcd2efa8f0122da5998941ba0aee32 100644 --- a/flake.nix +++ b/flake.nix @@ -58,9 +58,8 @@ config, ... }: let cfg = config.services.ugit; - yamlFormat = pkgs.formats.yaml {}; + }; nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; - url = "git+https://git.jojodev.com/jolheiser/tailwind-ctp"; authorizedKeysFile = pkgs.writeText "ugit_keys" (builtins.concatStringsSep "\n" cfg.authorizedKeys); in { options = with lib; { @@ -97,10 +96,11 @@ description = "path to host key file (will be created if it doesn't exist)"; default = "/var/lib/ugit/ugit_ed25519"; }; - inputs.nixpkgs.follows = "nixpkgs"; +{ description = "Minimal git server"; + tailwind-ctp = { - type = types.attrs; + type = types.str; - default = {}; + default = ""; description = "config.yaml contents"; };