lmao
This commit is contained in:
parent
4cfb06fabb
commit
05ff9e828f
|
@ -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, ... }: {
|
||||
|
|
|
@ -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; };
|
||||
|
||||
|
|
Loading…
Reference in a new issue