Compare commits

...

2 commits

Author SHA1 Message Date
ee3f767815 build: remove devShell
All checks were successful
/ check (push) Successful in 2m30s
I don't use it anyways and apparently this is deprecated now.
I might add it back when I switch to flake-parts, but that's in the future anwyays.
2024-06-06 21:32:27 +00:00
5ffde4a2d4 feat: disable website 2024-06-06 21:32:27 +00:00
6 changed files with 4 additions and 41 deletions

View file

@ -327,8 +327,7 @@
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"nur": "nur", "nur": "nur",
"pre-commit-hooks": "pre-commit-hooks", "pre-commit-hooks": "pre-commit-hooks",
"systems": "systems", "systems": "systems"
"website": "website"
} }
}, },
"systems": { "systems": {
@ -346,22 +345,6 @@
"repo": "default", "repo": "default",
"type": "github" "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", "root": "root",

View file

@ -72,11 +72,6 @@
url = "github:nix-systems/default"; url = "github:nix-systems/default";
flake = false; flake = false;
}; };
website = {
url = "github:buffet/website";
flake = false;
};
}; };
outputs = { 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;
};
}); });
} }

View file

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

View file

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

View file

@ -1,4 +1,6 @@
{ {
networking.firewall.allowedTCPPorts = [80 443];
services.nginx = { services.nginx = {
enable = true; 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}";
};
};
}