remove graphical stuff on server

This commit is contained in:
Kopatz
2024-01-30 16:05:47 +01:00
parent d268c6f083
commit 0e55575495
3 changed files with 7 additions and 20 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -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