reo101
9b8f894a1a
Flatten down directory structure: - From: `./hosts/${configuration-type}/${system}/{configuration,deploy}.nix` - To: `./hosts/${configuration-type}/{meta,configuration}.nix` Keep `system` and `deploy-rs` config in `meta.nix` Update `flake.lock`
32 lines
760 B
Nix
32 lines
760 B
Nix
{ inputs, lib, pkgs, config, ... }:
|
|
|
|
{
|
|
# age.secrets."nextcloud.adminpass" = {
|
|
# rekeyFile = "${inputs.self}/secrets/home/jeeves/nextcloud/adminpass.age";
|
|
# mode = "770";
|
|
# owner = "nextcloud";
|
|
# group = "nextcloud";
|
|
# };
|
|
|
|
environment.systemPackages = [
|
|
# config.services.nextcloud.package
|
|
];
|
|
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
|
|
services.nginx = {
|
|
enable = true;
|
|
package = pkgs.openresty;
|
|
# virtualHosts."_.${config.networking.hostName}.local" = {
|
|
# # listen = [
|
|
# # {
|
|
# # addr = "127.0.0.1";
|
|
# # port = 1234;
|
|
# # }
|
|
# # ];
|
|
# enableACME = false;
|
|
# forceSSL = false;
|
|
# locations."/".proxyPass = "http://127.0.0.1:1234";
|
|
# };
|
|
};
|
|
}
|