remove graphical stuff on server
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user