static site
This commit is contained in:
parent
526aa59400
commit
ef7abceb8e
@ -1250,11 +1250,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1721845499,
|
"lastModified": 1721846293,
|
||||||
"narHash": "sha256-HigSuzXglfiChR7KwwuSNW87MZfaGAc6y4u2X6XXnS4=",
|
"narHash": "sha256-j5odUYOaNs+C+uPco6hN30xEW6Sy36KcXd6rDaYMgB0=",
|
||||||
"owner": "ivandimitrov8080",
|
"owner": "ivandimitrov8080",
|
||||||
"repo": "idimitrov.dev",
|
"repo": "idimitrov.dev",
|
||||||
"rev": "b1eb26e5f2416e742169465758481dcd69018827",
|
"rev": "dd2e26284d8d09322791c8277a7711a3471cba30",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -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 ];
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@ in
|
|||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://127.0.0.1:3000";
|
root = "${pkgs.webshite}";
|
||||||
};
|
};
|
||||||
extraConfig = webshiteConfig;
|
extraConfig = webshiteConfig;
|
||||||
};
|
};
|
||||||
@ -36,7 +36,7 @@ in
|
|||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://127.0.0.1:3000";
|
root = "${pkgs.webshite}";
|
||||||
};
|
};
|
||||||
extraConfig = webshiteConfig;
|
extraConfig = webshiteConfig;
|
||||||
};
|
};
|
||||||
|
@ -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" ];
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user