Compare commits
2 commits
8307144ed6
...
0d4a597889
Author | SHA1 | Date | |
---|---|---|---|
0d4a597889 | |||
47cf5f068c |
3 changed files with 15 additions and 1 deletions
|
@ -101,7 +101,7 @@ _: {
|
|||
#windowrules
|
||||
windowrulev2 = noshadow, floating:0
|
||||
windowrulev2 = float, title:^(Volume Control)$
|
||||
windowrulev2 = float, title:^(Picture-in-Picture)$
|
||||
windowrulev2 = float, title:^(Picture in picture)$
|
||||
windowrulev2 = float, title:^(RuneLite)$
|
||||
windowrulev2 = move 500 300, title:^(RuneLite)$
|
||||
windowrulev2 = size 810 580, title:^(RuneLite)$
|
||||
|
|
|
@ -8,5 +8,6 @@
|
|||
./homarr.nix
|
||||
./dashdot.nix
|
||||
./miniflux.nix
|
||||
./minecraft.nix
|
||||
];
|
||||
}
|
||||
|
|
13
hosts/yuki/services/minecraft.nix
Normal file
13
hosts/yuki/services/minecraft.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{...}: {
|
||||
networking.firewall.allowedTCPPorts = [25565];
|
||||
virtualisation.oci-containers.containers.minecraft = {
|
||||
image = "marctv/minecraft-papermc-server:latest";
|
||||
ports = ["25565:25565"];
|
||||
environment = {
|
||||
MEMORYSIZE = "6G";
|
||||
};
|
||||
volumes = [
|
||||
"/home/notoh/docker/mcserver:/data:rw"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue