static site

This commit is contained in:
Ivan Kirilov Dimitrov 2024-07-24 20:43:17 +02:00
parent 526aa59400
commit ef7abceb8e
No known key found for this signature in database
GPG Key ID: 0BDAD4B211C49294
4 changed files with 6 additions and 25 deletions

View File

@ -1250,11 +1250,11 @@
]
},
"locked": {
"lastModified": 1721845499,
"narHash": "sha256-HigSuzXglfiChR7KwwuSNW87MZfaGAc6y4u2X6XXnS4=",
"lastModified": 1721846293,
"narHash": "sha256-j5odUYOaNs+C+uPco6hN30xEW6Sy36KcXd6rDaYMgB0=",
"owner": "ivandimitrov8080",
"repo": "idimitrov.dev",
"rev": "b1eb26e5f2416e742169465758481dcd69018827",
"rev": "dd2e26284d8d09322791c8277a7711a3471cba30",
"type": "github"
},
"original": {

View File

@ -1,3 +1,3 @@
{
imports = [ ./configuration.nix ./mailserver ./roundcube ./postgres ./wireguard ./nginx ./webshite ./tor ./i2pd ./gitea ./dnscrypt ./monero ];
imports = [ ./configuration.nix ./mailserver ./roundcube ./postgres ./wireguard ./nginx ./tor ./i2pd ./gitea ./dnscrypt ./monero ];
}

View File

@ -28,7 +28,7 @@ in
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:3000";
root = "${pkgs.webshite}";
};
extraConfig = webshiteConfig;
};
@ -36,7 +36,7 @@ in
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:3000";
root = "${pkgs.webshite}";
};
extraConfig = webshiteConfig;
};

View File

@ -1,19 +0,0 @@
{ pkgs, ... }:
{
systemd.services.webshite = {
enable = true;
serviceConfig = {
ExecStart = "${pkgs.bash}/bin/bash ${pkgs.webshite}/bin/idimitrov.dev";
Restart = "always";
};
wantedBy = [ "multi-user.target" ];
};
systemd.services.pic = {
enable = true;
serviceConfig = {
ExecStart = "${pkgs.pic}/bin/pic";
Restart = "always";
};
wantedBy = [ "multi-user.target" ];
};
}