fix some things, add some others
This commit is contained in:
@@ -42,8 +42,8 @@
|
||||
|
||||
|
||||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 25565 4433 9971 ];
|
||||
networking.firewall.allowedUDPPorts = [ 24454 4433 9971 ];
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 25565 4433 9971 853 ];
|
||||
networking.firewall.allowedUDPPorts = [ 443 24454 4433 9971 ];
|
||||
|
||||
# Copy the NixOS configuration file and link it from the resulting system
|
||||
# (/run/current-system/configuration.nix). This is useful in case you
|
||||
|
||||
@@ -15,17 +15,6 @@
|
||||
ROCKET_ADDRESS = "127.0.0.1";
|
||||
ROCKET_PORT = 8222;
|
||||
ROCKET_LOG = "critical";
|
||||
|
||||
# This example assumes a mailserver running on localhost,
|
||||
# thus without transport encryption.
|
||||
# If you use an external mail server, follow:
|
||||
# https://github.com/dani-garcia/vaultwarden/wiki/SMTP-configuration
|
||||
#SMTP_HOST = "127.0.0.1";
|
||||
#SMTP_PORT = 25;
|
||||
#SMTP_SSL = false;
|
||||
|
||||
#SMTP_FROM = "admin@bitwarden.example.com";
|
||||
#SMTP_FROM_NAME = "example.com Bitwarden server";
|
||||
};
|
||||
};
|
||||
services.caddy.virtualHosts."bitwarden.k3t.dev".extraConfig = ''
|
||||
|
||||
@@ -41,7 +41,7 @@ in
|
||||
{
|
||||
networking.hostName = "htpc";
|
||||
|
||||
# HDMI CEC
|
||||
# hdmi cec
|
||||
nixpkgs.overlays = [
|
||||
(self: super: { libcec = super.libcec.override { withLibraspberrypi = true; }; })
|
||||
];
|
||||
@@ -75,9 +75,12 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
# Kodi - run under Wayland
|
||||
# kde connect for remote ctrl
|
||||
programs.kdeconnect.enable = true;
|
||||
|
||||
# kodi
|
||||
services.cage.user = "k3t";
|
||||
services.cage.extraArguments = [ "-m" "last" ];
|
||||
services.cage.extraArguments = [ "-m" "last" "-d" ];
|
||||
services.cage.program = "${kodi-with-addons}/bin/kodi-standalone";
|
||||
services.cage.enable = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user