feat: disable website
This commit is contained in:
parent
dc72926262
commit
5ffde4a2d4
6 changed files with 4 additions and 36 deletions
19
flake.lock
19
flake.lock
|
@ -327,8 +327,7 @@
|
|||
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||
"nur": "nur",
|
||||
"pre-commit-hooks": "pre-commit-hooks",
|
||||
"systems": "systems",
|
||||
"website": "website"
|
||||
"systems": "systems"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
|
@ -346,22 +345,6 @@
|
|||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"website": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1709301176,
|
||||
"narHash": "sha256-HOnDLwHnVt6G+Gop08PYbzNDahq9SKHnPdaR5hdL244=",
|
||||
"owner": "buffet",
|
||||
"repo": "website",
|
||||
"rev": "473559837586715998be89b928131706c5058f96",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "buffet",
|
||||
"repo": "website",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
|
|
@ -72,11 +72,6 @@
|
|||
url = "github:nix-systems/default";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
website = {
|
||||
url = "github:buffet/website";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
default = true;
|
||||
useACMEHost = "buffet.sh";
|
||||
forceSSL = true;
|
||||
root = "${website}/404.html";
|
||||
extraConfig = "return 404;";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
./murmur.nix
|
||||
./nginx.nix
|
||||
./upgrade.nix
|
||||
./website.nix
|
||||
|
||||
../../users/maintainer
|
||||
];
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
networking.firewall.allowedTCPPorts = [80 443];
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
{website, ...}: {
|
||||
networking.firewall.allowedTCPPorts = [80 443];
|
||||
|
||||
services.nginx = {
|
||||
virtualHosts."buffet.sh" = {
|
||||
useACMEHost = "buffet.sh";
|
||||
forceSSL = true;
|
||||
root = "${website}";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue