This commit is contained in:
Sakooooo 2025-01-07 19:22:29 +04:00
parent 4cfb06fabb
commit 05ff9e828f
Signed by: sako
GPG key ID: FE52FD65B76E4751
2 changed files with 5 additions and 5 deletions

View file

@ -36,6 +36,11 @@
};
nix.settings = { experimental-features = [ "nix-command" "flakes" ]; };
nixpkgs = {
overlays = [ inputs.nix-minecraft.overlay ];
config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkgs) [ "minecraft-server" ];
};
home-manager.useUserPackages = true;
home-manager.users.sako = { pkgs, ... }: {

View file

@ -3,11 +3,6 @@ with lib;
let cfg = config.void.server.game.minecraft;
in {
imports = [ inputs.nix-minecraft.nixosModules.minecraft-servers ];
nixpkgs = {
overlays = [ inputs.nix-minecraft.overlay ];
config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkgs) [ "minecraft-server" ];
};
options.void.server.game.minecraft = { enable = mkEnableOption false; };