diff --git a/flake.nix b/flake.nix index 4e49f38..f103d46 100755 --- a/flake.nix +++ b/flake.nix @@ -57,7 +57,7 @@ { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; - home-manager.users.k3t = ./home/vps.nix; + home-manager.users.k3t = ./home/server.nix; } ]; Pontiac-G5 = mkHost "aarch64-linux" [ diff --git a/hosts/nixcloud/configuration.nix b/hosts/nixcloud/configuration.nix index 91ff8e4..cda873f 100644 --- a/hosts/nixcloud/configuration.nix +++ b/hosts/nixcloud/configuration.nix @@ -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 diff --git a/hosts/nixcloud/services.d/vaultwarden.nix b/hosts/nixcloud/services.d/vaultwarden.nix index d2e5092..10a417c 100644 --- a/hosts/nixcloud/services.d/vaultwarden.nix +++ b/hosts/nixcloud/services.d/vaultwarden.nix @@ -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 = '' diff --git a/hosts/pi-htpc/configuration.nix b/hosts/pi-htpc/configuration.nix index 932ebb2..59fc21d 100755 --- a/hosts/pi-htpc/configuration.nix +++ b/hosts/pi-htpc/configuration.nix @@ -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;