fix git aliases, librepods
This commit is contained in:
@@ -176,6 +176,7 @@ in
|
||||
|
||||
home.packages = with pkgs; [
|
||||
pkgs.${namespace}.bolt-launcher
|
||||
pkgs.${namespace}.librepods
|
||||
|
||||
bottles
|
||||
compose2nix
|
||||
|
||||
@@ -19,7 +19,7 @@ in
|
||||
name = "mjallen18";
|
||||
email = "matt.l.jallen@gmail.com";
|
||||
};
|
||||
aliases = gitAliases;
|
||||
alias = gitAliases;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -40,6 +40,7 @@ in
|
||||
alvr = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
package = pkgs.stable.alvr;
|
||||
};
|
||||
|
||||
gamescope = {
|
||||
|
||||
57
packages/librepods/default.nix
Normal file
57
packages/librepods/default.nix
Normal file
@@ -0,0 +1,57 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, cmake
|
||||
, pkg-config
|
||||
, qt6
|
||||
, openssl
|
||||
, python3
|
||||
, libpulseaudio
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "librepods";
|
||||
version = "unstable";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kavishdevar";
|
||||
repo = "librepods";
|
||||
rev = "main";
|
||||
hash = "sha256-8kSrV9XgbfzPZ5kEL1J0ovzs+hT0GxacUDjT0eJdmKU=";
|
||||
};
|
||||
|
||||
sourceRoot = "source/linux";
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
qt6.wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt6.qtbase
|
||||
qt6.qtdeclarative
|
||||
qt6.qtconnectivity
|
||||
qt6.qtmultimedia
|
||||
openssl
|
||||
libpulseaudio
|
||||
python3
|
||||
];
|
||||
|
||||
|
||||
qtWrapperArgs = [
|
||||
"--prefix QML2_IMPORT_PATH : ${qt6.qtdeclarative}/lib/qt6/qml"
|
||||
"--prefix QT_PLUGIN_PATH : ${qt6.qtbase}/lib/qt6/plugins"
|
||||
];
|
||||
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp librepods $out/bin/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Native Linux application for controlling Apple AirPods";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -71,6 +71,14 @@
|
||||
VISUAL = "${lib.getExe' pkgs.vscodium "codium"} --wait";
|
||||
};
|
||||
|
||||
security.wrappers.librepods = {
|
||||
source = "${pkgs.${namespace}.librepods}/bin/librepods";
|
||||
owner = "matt";
|
||||
group = "users";
|
||||
setuid = false;
|
||||
capabilities = "cap_net_admin+p";
|
||||
};
|
||||
|
||||
specialisation = {
|
||||
"cosmic".configuration = {
|
||||
${namespace} = {
|
||||
|
||||
Reference in New Issue
Block a user