feat: disable website

This commit is contained in:
buffet 2024-06-06 23:25:34 +02:00
parent dc72926262
commit 5ffde4a2d4
6 changed files with 4 additions and 36 deletions

View file

@ -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",

View file

@ -72,11 +72,6 @@
url = "github:nix-systems/default";
flake = false;
};
website = {
url = "github:buffet/website";
flake = false;
};
};
outputs = {

View file

@ -4,7 +4,7 @@
default = true;
useACMEHost = "buffet.sh";
forceSSL = true;
root = "${website}/404.html";
extraConfig = "return 404;";
};
};
}

View file

@ -19,7 +19,6 @@
./murmur.nix
./nginx.nix
./upgrade.nix
./website.nix
../../users/maintainer
];

View file

@ -1,4 +1,6 @@
{
networking.firewall.allowedTCPPorts = [80 443];
services.nginx = {
enable = true;

View file

@ -1,11 +0,0 @@
{website, ...}: {
networking.firewall.allowedTCPPorts = [80 443];
services.nginx = {
virtualHosts."buffet.sh" = {
useACMEHost = "buffet.sh";
forceSSL = true;
root = "${website}";
};
};
}