Compare commits
2 commits
dc72926262
...
ee3f767815
Author | SHA1 | Date | |
---|---|---|---|
ee3f767815 | |||
5ffde4a2d4 |
6 changed files with 4 additions and 41 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",
|
||||
|
|
10
flake.nix
10
flake.nix
|
@ -72,11 +72,6 @@
|
|||
url = "github:nix-systems/default";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
website = {
|
||||
url = "github:buffet/website";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
|
@ -120,10 +115,5 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
devShell = nixpkgs.legacyPackages.${system}.mkShell {
|
||||
inherit (self.checks.${system}.pre-commit-check) shellHook;
|
||||
buildInputs = self.checks.${system}.pre-commit-check.enabledPackages;
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
|
@ -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