Compare commits
2 commits
1403595ae1
...
acc7057790
Author | SHA1 | Date | |
---|---|---|---|
acc7057790 | |||
ee4adecd45 |
4 changed files with 11 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
enabled = "fcitx5";
|
enabled = "fcitx5";
|
||||||
fcitx5.addons =
|
fcitx5.addons =
|
||||||
(with pkgs; [
|
(with pkgs; [
|
||||||
fcitx5-chinese-addons
|
libsForQt5.fcitx5-chinese-addons
|
||||||
fcitx5-tokyonight
|
fcitx5-tokyonight
|
||||||
])
|
])
|
||||||
++ (with inputs.berberman.packages.${pkgs.stdenv.hostPlatform.system}; [
|
++ (with inputs.berberman.packages.${pkgs.stdenv.hostPlatform.system}; [
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
{lib, ...}: {
|
{lib, ...}: {
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
|
allowAliases = false;
|
||||||
|
|
||||||
allowNonSource = false;
|
allowNonSource = false;
|
||||||
allowNonSourcePredicate = pkg:
|
allowNonSourcePredicate = pkg:
|
||||||
builtins.elem (lib.getName pkg) [
|
builtins.elem (lib.getName pkg) [
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
config,
|
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
|
inputs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -167,6 +168,13 @@
|
||||||
eula = true;
|
eula = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
|
|
||||||
|
package = pkgs.callPackage "${inputs.nixpkgs}/pkgs/games/minecraft-servers/derivation.nix" {
|
||||||
|
version = "1.21";
|
||||||
|
sha1 = "450698d1863ab5180c25d7c804ef0fe6369dd1ba";
|
||||||
|
url = "https://piston-data.mojang.com/v1/objects/450698d1863ab5180c25d7c804ef0fe6369dd1ba/server.jar";
|
||||||
|
jre_headless = pkgs.javaPackages.compiler.openjdk21.headless;
|
||||||
|
};
|
||||||
|
|
||||||
# Aikar's flag
|
# Aikar's flag
|
||||||
# https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/
|
# https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/
|
||||||
# https://docs.papermc.io/paper/aikars-flags
|
# https://docs.papermc.io/paper/aikars-flags
|
||||||
|
|
Loading…
Reference in a new issue