fix some things, add some others
This commit is contained in:
@@ -57,7 +57,7 @@
|
|||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.k3t = ./home/vps.nix;
|
home-manager.users.k3t = ./home/server.nix;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
Pontiac-G5 = mkHost "aarch64-linux" [
|
Pontiac-G5 = mkHost "aarch64-linux" [
|
||||||
|
|||||||
@@ -42,8 +42,8 @@
|
|||||||
|
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 25565 4433 9971 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 25565 4433 9971 853 ];
|
||||||
networking.firewall.allowedUDPPorts = [ 24454 4433 9971 ];
|
networking.firewall.allowedUDPPorts = [ 443 24454 4433 9971 ];
|
||||||
|
|
||||||
# Copy the NixOS configuration file and link it from the resulting system
|
# Copy the NixOS configuration file and link it from the resulting system
|
||||||
# (/run/current-system/configuration.nix). This is useful in case you
|
# (/run/current-system/configuration.nix). This is useful in case you
|
||||||
|
|||||||
@@ -15,17 +15,6 @@
|
|||||||
ROCKET_ADDRESS = "127.0.0.1";
|
ROCKET_ADDRESS = "127.0.0.1";
|
||||||
ROCKET_PORT = 8222;
|
ROCKET_PORT = 8222;
|
||||||
ROCKET_LOG = "critical";
|
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 = ''
|
services.caddy.virtualHosts."bitwarden.k3t.dev".extraConfig = ''
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ in
|
|||||||
{
|
{
|
||||||
networking.hostName = "htpc";
|
networking.hostName = "htpc";
|
||||||
|
|
||||||
# HDMI CEC
|
# hdmi cec
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(self: super: { libcec = super.libcec.override { withLibraspberrypi = true; }; })
|
(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.user = "k3t";
|
||||||
services.cage.extraArguments = [ "-m" "last" ];
|
services.cage.extraArguments = [ "-m" "last" "-d" ];
|
||||||
services.cage.program = "${kodi-with-addons}/bin/kodi-standalone";
|
services.cage.program = "${kodi-with-addons}/bin/kodi-standalone";
|
||||||
services.cage.enable = true;
|
services.cage.enable = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user