alpha
Login
or
Join now
dunkirk.sh
/
core
forked from
tangled.org/core
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
login with app password
author
Akshay
date
1 year ago
(Jan 26, 2025, 3:45 PM UTC)
commit
f6ebd000
f6ebd000b67352ec6dd40672dd7018f60582abdc
parent
a314cee2
a314cee2117888638d7656e763ba375b6c2553db
+32
-30
2 changed files
Expand all
Collapse all
Unified
Split
flake.nix
legit
templates
login.html
+26
-30
flake.nix
Reviewed
···
15
15
};
16
16
};
17
17
18
18
-
outputs =
19
19
-
{ self
20
20
-
, nixpkgs
21
21
-
, gitignore
22
22
-
, rust-overlay
23
23
-
,
24
24
-
}:
25
25
-
let
26
26
-
supportedSystems = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
27
27
-
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
28
28
-
nixpkgsFor = forAllSystems (system:
29
29
-
import nixpkgs {
30
30
-
inherit system;
31
31
-
overlays = [ (import rust-overlay) ];
32
32
-
});
33
33
-
in
34
34
-
{
35
35
-
defaultPackage = forAllSystems (system: self.packages.${system}.legit);
36
36
-
formatter = forAllSystems (system: nixpkgsFor."${system}".alejandra);
37
37
-
devShells = forAllSystems (system:
38
38
-
let
39
39
-
pkgs = nixpkgsFor.${system};
40
40
-
rust-bin = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
41
41
-
in
42
42
-
{
43
43
-
default = pkgs.mkShell {
44
44
-
nativeBuildInputs = [
45
45
-
pkgs.go
46
46
-
pkgs.air
47
47
-
pkgs.templ
18
18
+
outputs = {
19
19
+
self,
20
20
+
nixpkgs,
21
21
+
gitignore,
22
22
+
rust-overlay,
23
23
+
}: let
24
24
+
supportedSystems = ["x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
25
25
+
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
26
26
+
nixpkgsFor = forAllSystems (system:
27
27
+
import nixpkgs {
28
28
+
inherit system;
29
29
+
overlays = [(import rust-overlay)];
30
30
+
});
31
31
+
in {
32
32
+
defaultPackage = forAllSystems (system: self.packages.${system}.legit);
33
33
+
formatter = forAllSystems (system: nixpkgsFor."${system}".alejandra);
34
34
+
devShells = forAllSystems (system: let
35
35
+
pkgs = nixpkgsFor.${system};
36
36
+
rust-bin = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
37
37
+
in {
38
38
+
default = pkgs.mkShell {
39
39
+
nativeBuildInputs = [
40
40
+
pkgs.go
41
41
+
pkgs.air
42
42
+
pkgs.templ
43
43
+
pkgs.gopls
48
44
49
45
pkgs.httpie
50
46
pkgs.bacon
+6
legit/templates/login.html
Reviewed
···
20
20
name="handle"
21
21
placeholder="@username.bsky.social"
22
22
/>
23
23
+
<input
24
24
+
type="password"
25
25
+
id="app_password"
26
26
+
name="app_password"
27
27
+
placeholder="app password"
28
28
+
/>
23
29
</div>
24
30
<button type="submit">Login</button>
25
31
</form>