all the mods 9
This commit is contained in:
parent
d7e3b972e6
commit
9aa71c7f20
10 changed files with 171 additions and 1 deletions
38
extras/disk-config.nix
Normal file
38
extras/disk-config.nix
Normal 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"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -22,8 +22,11 @@ in {
|
|||
protonup-qt
|
||||
r2modman
|
||||
wine
|
||||
temurin-jre-bin-17
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [25565];
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
# remotePlay.openFirewall = true;
|
||||
|
|
|
|||
6
extras/minecraft-server.nix
Normal file
6
extras/minecraft-server.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
temurin-jre-bin-17
|
||||
];
|
||||
networking.firewall.allowedTCPPorts = [25565];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue