services/nginx: add website
This commit is contained in:
parent
a0e4da2fd0
commit
4b2c36b00f
3 changed files with 23 additions and 5 deletions
18
flake.lock
generated
18
flake.lock
generated
|
|
@ -576,6 +576,7 @@
|
|||
"tree-sitter-jsonc": "tree-sitter-jsonc",
|
||||
"twemoji-but-good": "twemoji-but-good",
|
||||
"view-raw": "view-raw",
|
||||
"website": "website",
|
||||
"who-reacted": "who-reacted",
|
||||
"wine-discord-ipc-bridge": "wine-discord-ipc-bridge",
|
||||
"zelk": "zelk",
|
||||
|
|
@ -734,6 +735,23 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"website": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1609417219,
|
||||
"narHash": "sha256-ZwJckHqfdx+w02qxf/G1O4wUWJSkly4ot/rII+btB1M=",
|
||||
"owner": "LavaDesu",
|
||||
"repo": "lavadesu.github.io",
|
||||
"rev": "63d9b345ae481658e37ccb64b6992efd729a690b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "LavaDesu",
|
||||
"ref": "master",
|
||||
"repo": "lavadesu.github.io",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"who-reacted": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
|
|
|||
|
|
@ -17,6 +17,9 @@
|
|||
powercord-overlay.url = "github:LavaDesu/powercord-overlay";
|
||||
powercord-overlay.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
# services
|
||||
website = { url = "github:LavaDesu/lavadesu.github.io/master"; flake = false; };
|
||||
|
||||
# zsh plugins
|
||||
zsh-abbr = { url = "github:olets/zsh-abbr"; flake = false; };
|
||||
zsh-history-substring-search = { url = "github:zsh-users/zsh-history-substring-search"; flake = false; };
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }: {
|
||||
{ inputs, ... }: {
|
||||
security.acme.acceptTerms = true;
|
||||
security.acme.email = "me@lava.moe";
|
||||
services.nginx = {
|
||||
|
|
@ -12,10 +12,7 @@
|
|||
"lava.moe" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
||||
locations."/".extraConfig = ''
|
||||
return 404;
|
||||
'';
|
||||
root = inputs.website.outPath;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue