remove graphical stuff on server
This commit is contained in:
@@ -50,7 +50,6 @@
|
|||||||
./modules/static-ip.nix
|
./modules/static-ip.nix
|
||||||
./modules/hdd-spindown.nix
|
./modules/hdd-spindown.nix
|
||||||
./modules/firewall.nix
|
./modules/firewall.nix
|
||||||
./modules/wireshark.nix
|
|
||||||
./modules/motd.nix
|
./modules/motd.nix
|
||||||
./modules/postgres.nix
|
./modules/postgres.nix
|
||||||
./modules/fail2ban.nix
|
./modules/fail2ban.nix
|
||||||
@@ -64,7 +63,6 @@
|
|||||||
./modules/backup.nix
|
./modules/backup.nix
|
||||||
./modules/nginx.nix
|
./modules/nginx.nix
|
||||||
./modules/ssh.nix
|
./modules/ssh.nix
|
||||||
./modules/rdp.nix
|
|
||||||
./modules/docker.nix
|
./modules/docker.nix
|
||||||
./modules/wireguard.nix
|
./modules/wireguard.nix
|
||||||
./modules/cron.nix
|
./modules/cron.nix
|
||||||
|
|||||||
@@ -3,6 +3,13 @@
|
|||||||
join = builtins.concatStringsSep " ";
|
join = builtins.concatStringsSep " ";
|
||||||
in {
|
in {
|
||||||
|
|
||||||
|
services.cron = {
|
||||||
|
enable = true;
|
||||||
|
systemCronJobs = [
|
||||||
|
"0 6 * * * root systemctl restart palworld"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
networking.firewall.allowedUDPPorts = [ 8211 ]; #5349 ];
|
networking.firewall.allowedUDPPorts = [ 8211 ]; #5349 ];
|
||||||
users.users.palworld = {
|
users.users.palworld = {
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
|
|||||||
@@ -39,20 +39,6 @@ in{
|
|||||||
LC_TIME = "de_AT.UTF-8";
|
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 ####
|
#### Sound and printing ####
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
#services.printing.enable = true;
|
#services.printing.enable = true;
|
||||||
@@ -80,20 +66,16 @@ in{
|
|||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
kate
|
|
||||||
nixos-option
|
nixos-option
|
||||||
wget
|
wget
|
||||||
vim
|
vim
|
||||||
tcpdump
|
tcpdump
|
||||||
dig
|
dig
|
||||||
vscodium
|
|
||||||
inputs.agenix.packages."x86_64-linux".default
|
inputs.agenix.packages."x86_64-linux".default
|
||||||
btop
|
btop
|
||||||
shash
|
shash
|
||||||
gparted
|
|
||||||
restic
|
restic
|
||||||
hdparm
|
hdparm
|
||||||
wireguard-tools
|
|
||||||
openssl
|
openssl
|
||||||
unstable.e2fsprogs
|
unstable.e2fsprogs
|
||||||
mangal
|
mangal
|
||||||
|
|||||||
Reference in New Issue
Block a user