add mc server

This commit is contained in:
DACHXY 2025-03-27 21:14:38 +08:00
parent 43e206bd6d
commit 973313256a
6 changed files with 177 additions and 4 deletions

View file

@ -1,5 +1,6 @@
{
lib,
pkgs,
unstable,
inputs,
system,
@ -52,6 +53,27 @@ in
system.stateVersion = nix-version;
services.wallpaperEngine.enable = lib.mkForce false;
environment.systemPackages = [
pkgs.lunar-client
(pkgs.ferium.overrideAttrs (
final: prev: rec {
cargoHash = "sha256-yedl4KQCpT7Ai1EPvwD5kzhkHesIjGVAcxKjp5k2jmI=";
version = "4.7.0";
src = pkgs.fetchFromGitHub {
owner = "gorilla-devs";
repo = prev.pname;
rev = "v${version}";
hash = "sha256-jj3BdaxH7ofhHNF2eu+burn6+/0bPQQZ8JfjXAFyN4A=";
};
cargoDeps = pkgs.rustPlatform.fetchCargoVendor {
inherit (final) pname src version;
hash = final.cargoHash;
};
}
))
];
home-manager = {
backupFileExtension = "backup";
useUserPackages = true;