nixos-config/hosts/Gutterman/default.nix
wo2wz d9d51023dd Gutterman: rudimentary mc server config
service aint working with screen or tmux for some reason but im committing this anyway
2025-11-18 21:28:59 -05:00

40 lines
891 B
Nix

{ inputs, config, modulesPath, lib, pkgs, ... }:
{
imports = [
(modulesPath + "/virtualisation/proxmox-lxc.nix")
../../modules/common
../../modules/nixos/programs/bash.nix
../../modules/nixos/programs/git.nix
../../modules/nixos/services/tailscale
../../modules/nixos/services/gameserver/minecraft-server.nix
../../modules/nixos/system/headless.nix
../../modules/nixos/system/minimal.nix
];
proxmoxLXC.manageHostName = true;
# enabled by default in the proxmox-lxc module in nixpkgs
services.openssh.enable = false;
boot.loader.systemd-boot.enable = lib.mkForce false;
services.fstrim.enable = false;
services.resolved.extraConfig = ''
Cache=true
CacheFromLocalhost=true
'';
environment.systemPackages = [
pkgs.btop
pkgs.steamcmd
];
nixpkgs.hostPlatform = "x86_64-linux";
system.stateVersion = "25.05";
}