copy bitwig.jar to install location and updated .gitignore

This commit is contained in:
2026-04-17 04:43:59 +02:00
parent 1649160981
commit 2ea4490891
3 changed files with 8 additions and 19 deletions
+1 -2
View File
@@ -1,4 +1,3 @@
.direnv
.pre-commit-config.yaml
secrets/id_ed25519
secrets/id_ed25519.pub
home/packages/media/bitwig.jar
+7 -1
View File
@@ -1,4 +1,6 @@
{pkgs, ...}: {
{pkgs, ...}: let
customJar = /etc/nixos/home/packages/media/bitwig.jar;
in {
users.users.someone.packages = with pkgs; [
(bitwig-studio6.overrideAttrs (old: {
version = "6.0";
@@ -7,6 +9,10 @@
url = "https://www.bitwig.com/dl/Bitwig%20Studio/6.0/installer_linux";
hash = "sha256-jrCTgaxfeWhfKwLeKLmqTQWS7RVbVnHqJ0InCipmm8k=";
};
postInstall = ''
cp ${customJar} $out/libexec/bin/bitwig.jar
'';
}))
];
}
-16
View File
@@ -1,16 +0,0 @@
{ config, lib, pkgs, ... }:
{
nixpkgs.overlays = [
(final: prev: {
bitwig-studio = prev.bitwig-studio.overrideAttrs (oldAttrs: {
version = "6.0";
src = pkgs.fetchurl {
url = "https://www.bitwig.com/dl/Bitwig%20Studio/6.0/installer_linux/";
hash = "8eb09381ac5f79685f2b02de28b9aa4d0592ed155b5671ea2742270a2a669bc9";
};
# Inherit the original package's meta information
meta = oldAttrs.meta;
});
})
];
}