mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Use minecraft-server from unstable
This commit is contained in:
parent
1808cdc632
commit
0b484ab7a7
2 changed files with 12 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, pkgs-unstable, ... }:
|
||||
{
|
||||
imports = [
|
||||
../environment.nix
|
||||
|
|
@ -65,10 +65,9 @@
|
|||
if failed port 443 protocol https with timeout 20 seconds then alert
|
||||
'';
|
||||
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
services.minecraft-server = {
|
||||
enable = true;
|
||||
package = pkgs-unstable.minecraft-server;
|
||||
eula = true;
|
||||
openFirewall = true;
|
||||
declarative = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue