Compare commits

...

3 commits

Author SHA1 Message Date
Evie Litherland-Smith 921e98c9b1 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/0c53b6b8c2a3e46c68e04417e247bba660689c9d' (2024-07-19)
  → 'github:nixos/nixpkgs/a1cc729dcbc31d9b0d11d86dc7436163548a9665' (2024-07-25)
• Updated input 'plasma-manager':
    'github:nix-community/plasma-manager/460b48dc3dcd05df568e27cbb90581d23baec8dc' (2024-07-14)
  → 'github:nix-community/plasma-manager/b967e042896de0f64513d4596e3d1f3eae445d1c' (2024-07-23)
2024-07-27 07:08:56 +01:00
Evie Litherland-Smith ea34a69ea3 Set minecraft server major version so it doesn't update automatically
Adjust minecraft server java options
2024-07-27 07:06:52 +01:00
Evie Litherland-Smith 97e77bdbcb Add Models directory to syncthing 2024-07-27 06:59:55 +01:00
3 changed files with 19 additions and 7 deletions

View file

@ -91,11 +91,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1721409541, "lastModified": 1721949857,
"narHash": "sha256-b6PLr0Ty7JPDBtJtjnYzlBf02bbH9alWMAgispMkTwk=", "narHash": "sha256-DID446r8KsmJhbCzx4el8d9SnPiE8qa6+eEQOJ40vR0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "0c53b6b8c2a3e46c68e04417e247bba660689c9d", "rev": "a1cc729dcbc31d9b0d11d86dc7436163548a9665",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -115,11 +115,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1720992717, "lastModified": 1721724566,
"narHash": "sha256-8j1bZVfKT1vJ0e+U7NYRNBG+DdBj5C/tpwe5krxT4/4=", "narHash": "sha256-6H+OTxXkOrh3P+15bhkQJY7OaBrQVzx4Pz+pCn6rtIg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "plasma-manager", "repo": "plasma-manager",
"rev": "460b48dc3dcd05df568e27cbb90581d23baec8dc", "rev": "b967e042896de0f64513d4596e3d1f3eae445d1c",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,9 +1,15 @@
{config, ...}: { {
config,
pkgs,
...
}: {
services.minecraft-server = { services.minecraft-server = {
enable = true; enable = true;
package = pkgs.minecraftServers.vanilla-1-20;
eula = true; eula = true;
openFirewall = true; openFirewall = true;
declarative = true; declarative = true;
jvmOpts = "-Xmx4G -Xms4G";
whitelist = { whitelist = {
"pixelifytica" = "b1848d60-4ddd-4fa4-a328-fb269910b6ae"; "pixelifytica" = "b1848d60-4ddd-4fa4-a328-fb269910b6ae";
"HomeInTheClouds" = "d49f0aee-f217-477b-9516-9d5906f7fc87"; "HomeInTheClouds" = "d49f0aee-f217-477b-9516-9d5906f7fc87";

View file

@ -34,6 +34,12 @@ in {
path = "~/Videos"; path = "~/Videos";
ignorePerms = true; ignorePerms = true;
}; };
"Models" = {
inherit devices;
id = "hcvfl-qspqe";
path = "~/Models";
ignorePerms = true;
};
"Documents" = { "Documents" = {
inherit devices; inherit devices;
id = "4bxk7-zkrt2"; id = "4bxk7-zkrt2";