pcbu-desktop try

This commit is contained in:
2026-05-04 19:49:04 +03:00
parent 397bf49326
commit c752cb2e7f
5 changed files with 82 additions and 2 deletions
+1
View File
@@ -11,6 +11,7 @@ in
{
packages.${system} = {
rovr = pkgs.callPackage ./rovr { };
pcbu-desktop = pkgs.callPackage ./pcbu-desktop { };
# immich = pkgs.callPackage ./immich { };
};
}
+52
View File
@@ -0,0 +1,52 @@
{ pkgs }:
let
pname = "pcbu-desktop";
version = "3.2.3";
src = pkgs.fetchurl {
url = "https://github.com/MeisApps/pcbu-desktop/releases/download/v${version}/PCBioUnlock-x64.AppImage";
sha256 = "sha256-+NxAm6vhMH51z6BscuFvaMidHN/3tNBR1g+i0q9hjWE=";
};
in pkgs.appimageTools.wrapType2 {
inherit pname version src;
extraPkgs = pkgs: with pkgs; [
glib
nss
nspr
libdrm
libGL
libxkbcommon
libX11
libXcursor
libXrandr
libXi
libXext
libXfixes
libXrender
libXtst
libxcrypt-legacy
gtk3
alsa-lib
at-spi2-atk
at-spi2-core
cups
dbus
expat
pango
cairo
];
extraInstallCommands = ''
mkdir -p $out/share/applications
cat > $out/share/applications/${pname}.desktop <<EOF
[Desktop Entry]
Name=PCBU Desktop
Exec=${pname}
Type=Application
Categories=Utility;
EOF
'';
}
+20
View File
@@ -0,0 +1,20 @@
Для сервиса пригодится:
```
hardware.bluetooth.enable = true;
services.dbus.enable = true;
networking.firewall.allowedUDPPorts = [ ... ];
networking.firewall.allowedTCPPorts = [ ... ];
```
---
pcbu-desktop-3.2.3-fhsenv-rootfs> building '/nix/store/8q029crhzkqw1vqvjbnxvmpgpwfr9sk1-pcbu-desktop-3.2.3-fhsenv-rootfs.drv'
pcbu-desktop-3.2.3-fhsenv-rootfs> structuredAttrs is enabled
pcbu-desktop-3.2.3-fhsenv-rootfs> Warning: Schema ?org.gnome.system.locale? has path ?/system/locale/?. Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
pcbu-desktop-3.2.3-fhsenv-rootfs> Warning: Schema ?org.gnome.system.proxy? has path ?/system/proxy/?. Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
pcbu-desktop-3.2.3-fhsenv-rootfs> Warning: Schema ?org.gnome.system.proxy.http? has path ?/system/proxy/http/?. Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
pcbu-desktop-3.2.3-fhsenv-rootfs> Warning: Schema ?org.gnome.system.proxy.https? has path ?/system/proxy/https/?. Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
pcbu-desktop-3.2.3-fhsenv-rootfs> Warning: Schema ?org.gnome.system.proxy.ftp? has path ?/system/proxy/ftp/?. Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
pcbu-desktop-3.2.3-fhsenv-rootfs> Warning: Schema ?org.gnome.system.proxy.socks? has path ?/system/proxy/socks/?. Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
pcbu-desktop-3.2.3-bwrap> building '/nix/store/6pzpm3vzia2jjfjizh8yx8v1n8l9apnr-pcbu-desktop-3.2.3-bwrap.drv'
pcbu-desktop> building '/nix/store/9jrq44m27r427rfxvbn3ym7b4y6hnnha-pcbu-desktop-3.2.3.drv'