various fixes

This commit is contained in:
Dmitriy Kholkin 2023-09-16 00:54:08 +03:00
parent ba2292d472
commit 731c7fc9cf
6 changed files with 21 additions and 11 deletions

View File

@ -23,8 +23,12 @@
};
networking.firewall = {
allowedTCPPorts = [ 47984 47989 48010 47990 ];
allowedUDPPorts = [ 47998 47999 48000 48002 48010 ];
allowedTCPPorts = [
47984 47989 47990 48010
];
allowedUDPPorts = [
47998 47999 48000 48002 48010
];
};
persist.state.homeDirectories = [ ".config/sunshine" ];

View File

@ -4,15 +4,16 @@ let
in {
virtualisation.oci-containers.containers.homepage = {
autoStart = true;
image = "ghcr.io/benphelps/homepage:latest";
image = "ghcr.io/benphelps/homepage:v0.6.29";
environment = {
PUID = "1000";
PGID = "100";
};
extraOptions = [ "--pull=newer" ];
ports = [ "127.0.0.1:3000:3000/tcp" ];
volumes = [
"${nas-path}/homepage:/app/config"
"${nas-path}/homepage/config:/app/config"
"${nas-path}/homepage/icons:/app/public/icons"
"/var/run/docker.sock:/var/run/docker.sock"
];
};
}

View File

@ -41,7 +41,7 @@ in {
enable = true;
inherit rsyncSSHKeys jvmOpts;
jvmMaxAllocation = "6144m";
jvmInitialAllocation = "2048m";
jvmInitialAllocation = "6144m";
jvmPackage = jre17;
serverConfig = defaults // {
server-port = 25565;

View File

@ -288,9 +288,15 @@ in {
extraConfig = proxySettings;
};
} // default;
"tools.ataraxiadev.com" = default // authentik {
root = { proxyPass = "http://127.0.0.1:8070"; };
};
# "tools.ataraxiadev.com" = default // authentik {
# root = { proxyPass = "http://127.0.0.1:8070"; };
# };
"tools.ataraxiadev.com" = {
locations."/" = {
proxyPass = "http://127.0.0.1:8070";
extraConfig = proxySettings;
};
} // default;
"medusa.ataraxiadev.com" = {
locations."/" = {
proxyPass = "http://127.0.0.1:8180";

View File

@ -2,7 +2,6 @@
with config.deviceSpecific; {
home-manager.users.${config.mainuser}.programs.waybar = {
enable = true;
package = pkgs.waybar-hyprland;
settings = {
mainBar = {
layer = "top";

View File

@ -5,7 +5,7 @@
home-manager.users.${config.mainuser} = {
home.sessionVariables.SHELL = "${pkgs.zsh}/bin/zsh";
home.file.".profile".text = ''
. "${config.home.profileDirectory}/etc/profile.d/hm-session-vars.sh"
. "${config.home-manager.users.${config.mainuser}.home.profileDirectory}/etc/profile.d/hm-session-vars.sh"
'';
programs = {
zsh = {