Compare commits

..

No commits in common. "86a896c688d4499814b2282d896d2459f1e39835" and "5bff8ead3b454029a558c6fde1b9815571af5afc" have entirely different histories.

3 changed files with 1 additions and 41 deletions

View file

@ -37,26 +37,6 @@
"type": "github"
}
},
"caddy": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1727343602,
"narHash": "sha256-V1HAB1p11dcUyurJAB60tcgn4Su2gPoPJ6dZqmCDfiE=",
"owner": "GaspardCulis",
"repo": "nixos-caddy-ovh",
"rev": "df515b6bfd497de2d150867c4c13aab1e3d011ce",
"type": "github"
},
"original": {
"owner": "GaspardCulis",
"repo": "nixos-caddy-ovh",
"type": "github"
}
},
"deploy-rs": {
"inputs": {
"flake-compat": "flake-compat",
@ -382,7 +362,6 @@
},
"root": {
"inputs": {
"caddy": "caddy",
"deploy-rs": "deploy-rs",
"disko": "disko",
"end-rs": "end-rs",

View file

@ -8,11 +8,6 @@
inputs.nixpkgs.follows = "nixpkgs";
};
caddy = {
url = "github:GaspardCulis/nixos-caddy-ovh";
inputs.nixpkgs.follows = "nixpkgs";
};
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";

View file

@ -1,9 +1,4 @@
{
modulesPath,
inputs,
pkgs,
...
}: {
{modulesPath, ...}: {
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
./disko-config.nix
@ -20,13 +15,4 @@
enable = true;
allowedTCPPorts = [22 80 443];
};
# Proxy
services.caddy = {
enable = true;
package = inputs.caddy.packages.${pkgs.system}.caddy;
virtualHosts."localhost".extraConfig = ''
respond "Hello, world!"
'';
};
}