all the mods 9

This commit is contained in:
Tao Tien 2024-06-01 17:07:25 -07:00
parent d7e3b972e6
commit 9aa71c7f20
10 changed files with 171 additions and 1 deletions

38
extras/disk-config.nix Normal file
View file

@ -0,0 +1,38 @@
{lib, ...}: {
disko.devices = {
disk.disk1 = {
device = lib.mkDefault "/dev/sda";
type = "disk";
content = {
type = "gpt";
partitions = {
esp = {
name = "ESP";
start = "1M";
end = "128M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
size = "100%";
content = {
type = "btrfs";
mountpoint = "/";
mountOptions = ["noatime" "compress-force=zstd:3" "discard=async"];
subvolumes = {
"/home" = {
mountpoint = "/home";
mountOptions = ["noatime" "compress-force=zstd:3" "discard=async"];
};
};
};
};
};
};
};
};
}

View file

@ -22,8 +22,11 @@ in {
protonup-qt
r2modman
wine
temurin-jre-bin-17
];
networking.firewall.allowedTCPPorts = [25565];
programs.steam = {
enable = true;
# remotePlay.openFirewall = true;

View file

@ -0,0 +1,6 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
temurin-jre-bin-17
];
networking.firewall.allowedTCPPorts = [25565];
}