this repo has no description

login with app password

Akshay 4abdd6a9 3d7bc5eb

Changed files
+32 -30
legit
templates
+26 -30
flake.nix
··· 15 15 }; 16 16 }; 17 17 18 - outputs = 19 - { self 20 - , nixpkgs 21 - , gitignore 22 - , rust-overlay 23 - , 24 - }: 25 - let 26 - supportedSystems = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ]; 27 - forAllSystems = nixpkgs.lib.genAttrs supportedSystems; 28 - nixpkgsFor = forAllSystems (system: 29 - import nixpkgs { 30 - inherit system; 31 - overlays = [ (import rust-overlay) ]; 32 - }); 33 - in 34 - { 35 - defaultPackage = forAllSystems (system: self.packages.${system}.legit); 36 - formatter = forAllSystems (system: nixpkgsFor."${system}".alejandra); 37 - devShells = forAllSystems (system: 38 - let 39 - pkgs = nixpkgsFor.${system}; 40 - rust-bin = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml; 41 - in 42 - { 43 - default = pkgs.mkShell { 44 - nativeBuildInputs = [ 45 - pkgs.go 46 - pkgs.air 47 - pkgs.templ 18 + outputs = { 19 + self, 20 + nixpkgs, 21 + gitignore, 22 + rust-overlay, 23 + }: let 24 + supportedSystems = ["x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"]; 25 + forAllSystems = nixpkgs.lib.genAttrs supportedSystems; 26 + nixpkgsFor = forAllSystems (system: 27 + import nixpkgs { 28 + inherit system; 29 + overlays = [(import rust-overlay)]; 30 + }); 31 + in { 32 + defaultPackage = forAllSystems (system: self.packages.${system}.legit); 33 + formatter = forAllSystems (system: nixpkgsFor."${system}".alejandra); 34 + devShells = forAllSystems (system: let 35 + pkgs = nixpkgsFor.${system}; 36 + rust-bin = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml; 37 + in { 38 + default = pkgs.mkShell { 39 + nativeBuildInputs = [ 40 + pkgs.go 41 + pkgs.air 42 + pkgs.templ 43 + pkgs.gopls 48 44 49 45 pkgs.httpie 50 46 pkgs.bacon
+6
legit/templates/login.html
··· 20 20 name="handle" 21 21 placeholder="@username.bsky.social" 22 22 /> 23 + <input 24 + type="password" 25 + id="app_password" 26 + name="app_password" 27 + placeholder="app password" 28 + /> 23 29 </div> 24 30 <button type="submit">Login</button> 25 31 </form>