Compare commits

..
Author SHA1 Message Date
c573a72350 packsquash binary
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 33s
2026-06-12 19:12:19 +07:00
70db3cc58e use built in systray 2026-06-11 18:45:52 +07:00
3 changed files with 16 additions and 4 deletions

View file

@ -24,7 +24,7 @@
home = { home = {
packages = with pkgs; [ packages = with pkgs; [
playerctl brightnessctl playerctl brightnessctl
networkmanagerapplet tailscale-systray networkmanagerapplet
qt6Packages.qt6ct kdePackages.qtstyleplugin-kvantum qt6Packages.qt6ct kdePackages.qtstyleplugin-kvantum
nwg-displays nwg-displays
lxqt.pcmanfm-qt lxqt.pcmanfm-qt

View file

@ -36,7 +36,7 @@
"uwsm app -s b -- blueman-applet &" "uwsm app -s b -- blueman-applet &"
"uwsm app -s b -- nm-applet &" "uwsm app -s b -- nm-applet &"
"uwsm app -s b -- tailscale-systray &" "uwsm app -s b -- tailscale systray &"
#"keepassxc &" #"keepassxc &"
]; ];

View file

@ -9,7 +9,18 @@
packHash = "sha256-xB9Oc/aneogSQ9r7L42vyVM6xwq+QkoTaXYNuUzeo6M="; packHash = "sha256-xB9Oc/aneogSQ9r7L42vyVM6xwq+QkoTaXYNuUzeo6M=";
url = "https://git.satr14.my.id/satr14/server-modpack/raw/${path}/pack.toml"; url = "https://git.satr14.my.id/satr14/server-modpack/raw/${path}/pack.toml";
}; };
packsquash-binary = pkgs.runCommand "packsquash" {
src = pkgs.fetchurl {
url = "https://github.com/ComunidadAylas/PackSquash/releases/download/v0.4.1/packsquash-x86_64-unknown-linux-gnu.zip";
sha256 = "sha256-VsGZewoiO5MjhIhwjlLO5d5uHynlAK5Jh16jH2k2rPs=";
};
nativeBuildInputs = [ pkgs.unzip ];
} ''
mkdir -p $out/bin
unzip $src -d $out/bin
chmod +x $out/bin/packsquash
'';
in { in {
imports = [ inputs.mc.nixosModules.minecraft-servers ]; imports = [ inputs.mc.nixosModules.minecraft-servers ];
nixpkgs.overlays = [ inputs.mc.overlay ]; nixpkgs.overlays = [ inputs.mc.overlay ];
@ -86,7 +97,8 @@ in {
symlinks = lib.mapAttrs' symlinks = lib.mapAttrs'
(name: _: lib.nameValuePair "mods/${name}" "${modpack}/mods/${name}") (name: _: lib.nameValuePair "mods/${name}" "${modpack}/mods/${name}")
(builtins.readDir "${modpack}/mods"); (builtins.readDir "${modpack}/mods")
// { "polymer/packsquash" = "${packsquash-binary}/bin/packsquash"; };
package = pkgs.fabricServers.fabric-1_21_11.override { package = pkgs.fabricServers.fabric-1_21_11.override {
jre_headless = pkgs.javaPackages.compiler.temurin-bin.jdk-25; jre_headless = pkgs.javaPackages.compiler.temurin-bin.jdk-25;