diff --git a/flake.nix b/flake.nix index 74c623e..04d9719 100644 --- a/flake.nix +++ b/flake.nix @@ -50,7 +50,6 @@ ./modules/static-ip.nix ./modules/hdd-spindown.nix ./modules/firewall.nix - ./modules/wireshark.nix ./modules/motd.nix ./modules/postgres.nix ./modules/fail2ban.nix @@ -64,7 +63,6 @@ ./modules/backup.nix ./modules/nginx.nix ./modules/ssh.nix - ./modules/rdp.nix ./modules/docker.nix ./modules/wireguard.nix ./modules/cron.nix diff --git a/modules/games/palworld.nix b/modules/games/palworld.nix index e83e0da..852fedd 100644 --- a/modules/games/palworld.nix +++ b/modules/games/palworld.nix @@ -3,6 +3,13 @@ join = builtins.concatStringsSep " "; in { + services.cron = { + enable = true; + systemCronJobs = [ + "0 6 * * * root systemctl restart palworld" + ]; + }; + networking.firewall.allowedUDPPorts = [ 8211 ]; #5349 ]; users.users.palworld = { isSystemUser = true; diff --git a/systems/server/configuration.nix b/systems/server/configuration.nix index efc1fb1..c6c50c5 100644 --- a/systems/server/configuration.nix +++ b/systems/server/configuration.nix @@ -39,20 +39,6 @@ in{ LC_TIME = "de_AT.UTF-8"; }; - #### Graphical environment #### - # Enable the X11 windowing system. - services.xserver.enable = true; - - # Enable the KDE Plasma Desktop Environment. - services.xserver.displayManager.sddm.enable = true; - services.xserver.desktopManager.plasma5.enable = true; - - # Configure keymap in X11 - services.xserver = { - layout = "at"; - xkbVariant = ""; - }; - #### Sound and printing #### # Enable CUPS to print documents. #services.printing.enable = true; @@ -80,20 +66,16 @@ in{ nixpkgs.config.allowUnfree = true; environment.systemPackages = with pkgs; [ - kate nixos-option wget vim tcpdump dig - vscodium inputs.agenix.packages."x86_64-linux".default btop shash - gparted restic hdparm - wireguard-tools openssl unstable.e2fsprogs mangal