feat: add alejandra formatting

This commit is contained in:
Peritia 2025-09-26 11:50:20 +02:00
parent 839bb7de43
commit 0a6c6bb70d
2 changed files with 9 additions and 5 deletions

View file

@ -6,7 +6,12 @@
nix-minecraft.url = "github:Infinidoge/nix-minecraft"; nix-minecraft.url = "github:Infinidoge/nix-minecraft";
}; };
outputs = { self, nixpkgs, nix-minecraft, ... }: { outputs = {
self,
nixpkgs,
nix-minecraft,
...
}: {
nixosModules.minecraft-servers = { nixosModules.minecraft-servers = {
config, config,
lib, lib,

View file

@ -400,10 +400,8 @@ in {
"ZSTD_BIN=${pkgs.zstd}/bin/zstd" "ZSTD_BIN=${pkgs.zstd}/bin/zstd"
# add more bin here # add more bin here
# Not properly enough tested # Not properly enough tested
# #
#scheduleCfg.customEnviorment #scheduleCfg.customEnviorment
]; ];
ExecStart = pkgs.writeShellScript "minecraft-${serverName}-${scheduleName}.sh" '' ExecStart = pkgs.writeShellScript "minecraft-${serverName}-${scheduleName}.sh" ''
@ -436,7 +434,8 @@ in {
# it will run the service on each rebuild. # it will run the service on each rebuild.
# i dont want that you can enable it if you like # i dont want that you can enable it if you like
}; };
}) serverCfg.schedules })
serverCfg.schedules
) )
cfg.servers cfg.servers
); );