Compare commits
2 commits
c0dbb3a592
...
44a449e56e
Author | SHA1 | Date | |
---|---|---|---|
44a449e56e | |||
2419e06422 |
2 changed files with 17 additions and 1 deletions
|
@ -19,7 +19,7 @@ in
|
|||
enable = true;
|
||||
autoStart = true;
|
||||
enableReload = true;
|
||||
package = pkgs.paperServers.vanilla-1.21.1-build.27;
|
||||
package = pkgs.paperServers.paper-1_21_3-build_25;
|
||||
whitelist = {
|
||||
kB01guy = "1ff88b66-beda-4386-85b9-a00a5c27437a";
|
||||
};
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
|
||||
# Configure Nix
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
nix.settings.trusted-users = [ "remotebuild" ]; # UNSAVE, Remove ASAP
|
||||
nix.settings.trusted-public-keys = [
|
||||
"cache.HyperC:90YNJ0eWsuBGVVP989lJh1rL8C0KM6IKbAtEUiu+FCU="
|
||||
];
|
||||
nix.package = pkgs.lix;
|
||||
nixpkgs.overlays = [ inputs.nix-minecraft.overlay ];
|
||||
|
||||
|
@ -40,6 +44,13 @@
|
|||
];
|
||||
};
|
||||
|
||||
users.users.remotebuild = {
|
||||
isNormalUser = true;
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBHdxVb42GEb/rwrsQx/Wc2v2P+WIq8/WNlF+l31Rl/a Remotebuilds from HyperC"
|
||||
];
|
||||
};
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
|
@ -64,6 +75,11 @@
|
|||
servers.survival.enable = true;
|
||||
};
|
||||
|
||||
services.nix-serve = {
|
||||
enable = true;
|
||||
secretKeyFile = "/var/cache-kb-games-01-priv-key.pem";
|
||||
};
|
||||
|
||||
# Do NOT change this value
|
||||
system.stateVersion = "24.05"; # Did you read the comment?
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue