This commit is contained in:
winter
2026-05-30 19:52:02 -07:00
parent c67e7d779c
commit 29c4aa84a0
5 changed files with 51 additions and 22 deletions

View File

@@ -62,6 +62,12 @@
# FIXME: Add the rest of your current configuration
networking.firewall = {
enable = true;
allowedTCPPorts = [ 25565 ];
allowedUDPPorts = [ 25565 ];
};
networking.extraHosts = "
10.0.0.194 thearcticcircle.ddns.net
";
@@ -93,6 +99,8 @@
programs.gamescope.enable = true;
environment.systemPackages = with pkgs; [
#java, for minecraft
pkgs.jdk17
# Steam proton extras
protonplus
# Niri extras
@@ -124,11 +132,12 @@
packages = [
"com.vivaldi.Vivaldi"
"dev.vencord.Vesktop"
#"com.github.tchx84.Flatseal"
"com.github.tchx84.Flatseal"
"com.heroicgameslauncher.hgl"
#"org.blender.Blender"
#"org.kde.krita"
#"com.mojang.Minecraft"
"org.blender.Blender"
"org.kde.krita"
"com.mojang.Minecraft"
"org.prismlauncher.PrismLauncher"
];
};
systemd.services.flatpak-repo = {
@@ -163,6 +172,13 @@
# TODO: Be sure to add any other groups you need (such as networkmanager, audio, docker, etc)
extraGroups = ["wheel" "sudo"];
};
minecraft = {
isNormalUser = true;
shell = pkgs.bashInteractive;
openssh.authorizedKeys.keys = [
# TODO: Add your SSH public key(s) here, if you plan on using SSH to connect
];
};
};
# This setups a SSH server. Very important if you're setting up a headless system.

View File

@@ -32,6 +32,13 @@
options = [ "nofail" "rw" "user" "exec" ];
};
#TEMPORARY, TODO: remove
fileSystems."/mnt/main" = {
device = "/dev/disk/by-uuid/7dfa47de-a2e2-4356-adb4-ea61cc9e3e7e";
fsType = "ext4";
options = [ "nofail" "ro" ];
};
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";