Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c8bfe281a6 | |||
| 4ef839bf6b | |||
| d8a86fddb6 | |||
| 53d492563d |
@@ -114,8 +114,6 @@ in
|
|||||||
|
|
||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
22
|
22
|
||||||
80
|
|
||||||
443
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,6 +4,6 @@
|
|||||||
./storage.nix
|
./storage.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
time.timeZone = "Canada/Eastern";
|
|
||||||
networking.fqdn = "tuxcord.net";
|
networking.fqdn = "tuxcord.net";
|
||||||
|
time.timeZone = "Canada/Eastern";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
let
|
let
|
||||||
fqdn = config.networking.fqdn;
|
inherit (config.networking) fqdn;
|
||||||
|
|
||||||
mkVhost =
|
mkVhost =
|
||||||
attrs:
|
attrs:
|
||||||
@@ -14,6 +14,11 @@ let
|
|||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
networking.firewall.allowedTCPPorts = [
|
||||||
|
80
|
||||||
|
443
|
||||||
|
];
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user