diff --git a/nixos/homes/kylekrein/niri.nix b/nixos/homes/kylekrein/niri.nix index ab2e3ae..2202904 100644 --- a/nixos/homes/kylekrein/niri.nix +++ b/nixos/homes/kylekrein/niri.nix @@ -287,11 +287,11 @@ in{ command = "${suspendScript ''${pkgs.libnotify}/bin/notify-send "You are idle. Going to sleep in 30 seconds"''}"; #command = "${locking-script}"; } - { - timeout = 330; - command = "${suspendScript "${systemctl} suspend"}"; + #{ + #timeout = 330; + #command = "${suspendScript "${systemctl} suspend"}"; #command = "pidof hyprlock && ${secondary}"; - } + #} ]; }; services = { diff --git a/nixos/hosts/andrej-pc/configuration.nix b/nixos/hosts/andrej-pc/configuration.nix index 58890da..57ed640 100644 --- a/nixos/hosts/andrej-pc/configuration.nix +++ b/nixos/hosts/andrej-pc/configuration.nix @@ -296,8 +296,8 @@ }; # Open ports in the firewall. - networking.firewall.allowedTCPPorts = [ 22 ]; - networking.firewall.allowedUDPPorts = [ 22 ]; + networking.firewall.allowedTCPPorts = [ 22 25565 ]; + networking.firewall.allowedUDPPorts = [ 22 25565 ]; # Or disable the firewall altogether. #networking.firewall.enable = false;