Resolve merge conflict
This commit is contained in:
commit
6d8ea1ede4
3 changed files with 38 additions and 8 deletions
24
flake.nix
24
flake.nix
|
@ -95,6 +95,18 @@
|
|||
inherit system;
|
||||
};
|
||||
};
|
||||
nginx = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
"${inputs.self}/services"
|
||||
{
|
||||
networking.hostName = "nginx";
|
||||
services.vm_nginx = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
jellyfin = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
|
@ -116,6 +128,18 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
redis = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
"${inputs.self}/services"
|
||||
{
|
||||
networking.hostName = "redis";
|
||||
services.vm_redis = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
grafana = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
|
|
|
@ -1,12 +1,18 @@
|
|||
{ config, pkgs, lib, inputs, ... }:
|
||||
{ config, pkgs, lib, inputs, modulesPath, ... }:
|
||||
{
|
||||
nix = {
|
||||
settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
settings.trusted-users = [ "root" "@wheel" ];
|
||||
};
|
||||
imports = [ (modulesPath + "/virtualisation/proxmox-lxc.nix") ];
|
||||
|
||||
systemd.suppressedSystemUnits = [
|
||||
"dev-mqueue.mount"
|
||||
"sys-kernel-debug.mount"
|
||||
"sys-fs-fuse-connections.mount"
|
||||
];
|
||||
|
||||
networking = {
|
||||
hostName = "${config.services.vm.hostname}";
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 22 9002 ];
|
||||
|
|
|
@ -63,7 +63,7 @@ in
|
|||
add_header 'Referrer-Policy' 'origin-when-cross-origin';
|
||||
|
||||
# Disable embedding as a frame
|
||||
add_header X-Frame-Options DENY;
|
||||
add_header X-Frame-Options SAMEORIGIN;
|
||||
|
||||
# Prevent injection of code in other mime types (XSS Attacks)
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
|
@ -121,7 +121,7 @@ in
|
|||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://192.168.1.25:9000";
|
||||
proxyPass = "http://192.168.1.125:9000";
|
||||
recommendedProxySettings = true;
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue