mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-24 02:14:13 -05:00
maia: move minecraft-modpack to maia
This commit is contained in:
@@ -143,7 +143,7 @@
|
||||
"games"
|
||||
];
|
||||
wallpaper = "aurora-borealis-water-mountain";
|
||||
colorscheme = "nebula";
|
||||
colorscheme = "spaceduck";
|
||||
};
|
||||
# Laptop
|
||||
"misterio@pleione" = mkHome {
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
networking.firewall.allowedUDPPorts = [ 25565 24454 ];
|
||||
networking.firewall.allowedTCPPorts = [ 25565 ];
|
||||
}
|
||||
@@ -15,8 +15,6 @@ in
|
||||
++ (lib.optional config.networking.wireless.userControlled.enable config.networking.wireless.userControlled.group)
|
||||
++ (lib.optional config.programs.wireshark.enable "wireshark")
|
||||
++ (lib.optional config.hardware.i2c.enable "i2c")
|
||||
++ (lib.optional config.services.minecraft-server.enable "minecraft")
|
||||
++ (lib.optional (config.systemd.services.minecraft-modpack or { enable = false; }).enable "minecraft-modpack")
|
||||
++ (lib.optional config.services.mysql.enable "mysql")
|
||||
++ (lib.optional config.virtualisation.docker.enable "docker")
|
||||
++ (lib.optional config.virtualisation.podman.enable "podman")
|
||||
|
||||
@@ -6,6 +6,5 @@
|
||||
./mail.nix
|
||||
./nginx.nix
|
||||
./website.nix
|
||||
./minecraft-modpack.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
../common/users/misterio.nix
|
||||
../common/users/layla.nix
|
||||
|
||||
./services
|
||||
../common/optional/quietboot.nix
|
||||
../common/optional/tailscale.nix
|
||||
];
|
||||
@@ -18,6 +19,27 @@
|
||||
kernelPackages = pkgs.linuxKernel.packages.linux_zen;
|
||||
};
|
||||
|
||||
networking = {
|
||||
useDHCP = false;
|
||||
interfaces.enp2s0 = {
|
||||
useDHCP = true;
|
||||
wakeOnLan.enable = true;
|
||||
|
||||
ipv4 = {
|
||||
addresses = [{
|
||||
address = "192.168.0.13";
|
||||
prefixLength = 24;
|
||||
}];
|
||||
};
|
||||
ipv6 = {
|
||||
addresses = [{
|
||||
address = "2804:14d:8084:a484::3";
|
||||
prefixLength = 64;
|
||||
}];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
hardware.nvidia.prime.offload.enable = false;
|
||||
system.stateVersion = "22.05";
|
||||
# TODO: Add graphical stuff
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
imports = [ ./minecraft-modpack.nix ];
|
||||
}
|
||||
+1
-1
@@ -48,7 +48,7 @@ in
|
||||
# Open ports
|
||||
networking.firewall = {
|
||||
# Minecraft
|
||||
allowedTCPPorts = [ 25565 ];
|
||||
allowedTCPPorts = [ 25565 24454 ];
|
||||
# Query and Voice chat
|
||||
allowedUDPPorts = [ 25565 24454 ];
|
||||
};
|
||||
Reference in New Issue
Block a user