feat: add website

This commit is contained in:
Jet Pham 2026-03-09 20:08:02 -07:00
parent 5744860ade
commit 3540a5ea7b
No known key found for this signature in database
3 changed files with 107 additions and 11 deletions

View file

@ -106,6 +106,8 @@
services.tailscale.authKeyFile = config.age.secrets.tailscale-key.path; services.tailscale.authKeyFile = config.age.secrets.tailscale-key.path;
# MyMX # MyMX
services.jetpham-website.enable = true;
services.mymx = { services.mymx = {
enable = true; enable = true;
webhookSecretFile = config.age.secrets.mymx-webhook.path; webhookSecretFile = config.age.secrets.mymx-webhook.path;

112
flake.lock generated
View file

@ -52,11 +52,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1772699110, "lastModified": 1773025010,
"narHash": "sha256-jkyo/9fZVB3F/PHk3fVK1ImxJBZ71DCOYZvAz4R4v4E=", "narHash": "sha256-khlHllTsovXgT2GZ0WxT4+RvuMjNeR5OW0UYeEHPYQo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "42affa9d33750ac0a0a89761644af20d8d03e6ee", "rev": "7b9f7f88ab3b339f8142dc246445abb3c370d3d3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -65,6 +65,24 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils": {
"inputs": {
"systems": "systems_2"
},
"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"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -94,11 +112,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1772700454, "lastModified": 1772746000,
"narHash": "sha256-oy425GeM6KjK2NLUnWnoQVbtFD6lDgEXDtTOM6swjkM=", "narHash": "sha256-HfhvVgQDO8UI6Sr3U2+GLU9vLfshICO0nv7rVQ/V6yo=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "8daedbd5b627eba945054f2606adda69e985b6b2", "rev": "d43ddb5e065152cdd73b471ce78d23834282c6f0",
"revCount": 1, "revCount": 3,
"type": "git", "type": "git",
"url": "https://git.extremist.software/jet/mymx" "url": "https://git.extremist.software/jet/mymx"
}, },
@ -109,11 +127,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1772624091, "lastModified": 1772963539,
"narHash": "sha256-QKyJ0QGWBn6r0invrMAK8dmJoBYWoOWy7lN+UHzW1jc=", "narHash": "sha256-9jVDGZnvCckTGdYT53d/EfznygLskyLQXYwJLKMPsZs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "80bdc1e5ce51f56b19791b52b2901187931f5353", "rev": "9dcb002ca1690658be4a04645215baea8b95f31d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -123,12 +141,29 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": {
"locked": {
"lastModified": 1744536153,
"narHash": "sha256-awS2zRgF4uTwrOKwwiJcByDzDOdo3Q1rPZbiHQg/N38=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "18dd725c29603f582cf1900e0d25f9f1063dbf11",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
"disko": "disko", "disko": "disko",
"mymx": "mymx", "mymx": "mymx",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs",
"website": "website"
} }
}, },
"rust-overlay": { "rust-overlay": {
@ -152,6 +187,24 @@
"type": "github" "type": "github"
} }
}, },
"rust-overlay_2": {
"inputs": {
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1772679930,
"narHash": "sha256-FxYmdacqrdDVeE9QqZKTIpNLjv2B8GSKssgwlZuTR98=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "9b741db17141331fdb26270a1b66b81be8be9edd",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
"type": "github"
}
},
"systems": { "systems": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
@ -166,6 +219,43 @@
"repo": "default", "repo": "default",
"type": "github" "type": "github"
} }
},
"systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"website": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
],
"rust-overlay": "rust-overlay_2"
},
"locked": {
"lastModified": 1773106048,
"narHash": "sha256-XzvvBPE3kvRGJwEgISjxwEo8RRGuNeWgmhBr6nBtv6o=",
"ref": "refs/heads/main",
"rev": "e25803a767fbb66ec8e770a597605aa9bdbeab5b",
"revCount": 28,
"type": "git",
"url": "https://git.extremist.software/jet/website"
},
"original": {
"type": "git",
"url": "https://git.extremist.software/jet/website"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -10,6 +10,9 @@
mymx.url = "git+https://git.extremist.software/jet/mymx"; mymx.url = "git+https://git.extremist.software/jet/mymx";
mymx.inputs.nixpkgs.follows = "nixpkgs"; mymx.inputs.nixpkgs.follows = "nixpkgs";
website.url = "git+https://git.extremist.software/jet/website";
website.inputs.nixpkgs.follows = "nixpkgs";
agenix.url = "github:ryantm/agenix"; agenix.url = "github:ryantm/agenix";
agenix.inputs.nixpkgs.follows = "nixpkgs"; agenix.inputs.nixpkgs.follows = "nixpkgs";
}; };
@ -21,6 +24,7 @@
modules = [ modules = [
disko.nixosModules.disko disko.nixosModules.disko
inputs.mymx.nixosModules.default inputs.mymx.nixosModules.default
inputs.website.nixosModules.default
inputs.agenix.nixosModules.default inputs.agenix.nixosModules.default
./disk-config.nix ./disk-config.nix