Local changes

This commit is contained in:
root 2020-07-20 10:20:26 -07:00
commit b82ec83d3c
4 changed files with 23 additions and 5 deletions

View File

@ -43,6 +43,10 @@ in {
};
config = mkIf cfg.enable {
environment.systemPackages = [
cfg.package
];
services.minecraft-server = {
enable = true;
package = cfg.package;

View File

@ -137,6 +137,7 @@ in mkIf ((profile == "desktop") || (profile == "laptop")) {
terminus_font
ubuntu_font_family
ucsFonts
ultimate-oldschool-pc-font-pack
unifont
vistafonts
xlibs.fontadobe100dpi

View File

@ -270,8 +270,8 @@ in {
"webmail.test.fudo.org" = {
title = "Fudo Webmail";
favicon = "/etc/nixos/static/fudo.org/favicon.ico";
mail-server = mail-hostname;
domain = "test.fudo.org";
mail-server = "mail.fudo.org";
domain = "fudo.org";
edit-mode = "Plain";
database = {
name = "webmail";
@ -284,8 +284,8 @@ in {
"webmail.test.selby.ca" = {
title = "Selby Webmail";
favicon = "/etc/nixos/static/selby.ca/favicon.ico";
mail-server = mail-hostname;
domain = "test.selby.ca";
mail-server = "mail.selby.ca";
domain = "selby.ca";
database = {
name = "webmail";
hostname = "localhost";
@ -621,7 +621,7 @@ in {
fudo.minecraft-server = {
enable = true;
package = pkgs.minecraft-server_1_15_2;
package = pkgs.minecraft-server_1_16_1;
data-dir = minecraft-data-dir;
world-name = "selbyland";
motd = "Welcome to the Selby Minecraft server.";

View File

@ -22,6 +22,19 @@
};
});
# DON'T LEAVE THE HASH--Nix will think the package hasn't changed
minecraft-server_1_16_1 = let
version = "1.16.1";
url = "https://launcher.mojang.com/v1/objects/a412fd69db1f81db3f511c1463fd304675244077/server.jar";
sha256 = "0nwkdig6yw4cnm2ld78z4j4xzhbm1rwv55vfxz0gzhsbf93xb0i7";
in (pkgs.minecraft-server.overrideAttrs (oldAttrs: rec {
name = "minecraft-server-${version}";
inherit version;
src = pkgs.fetchurl {
inherit url sha256;
};
}));
postgresql_11_gssapi = pkgs.postgresql_11.overrideAttrs (oldAttrs: rec {
configureFlags = oldAttrs.configureFlags ++ [ "--with-gssapi" ];
buildInputs = oldAttrs.buildInputs ++ [ pkgs.krb5 ];