Compare commits
2 Commits
628766e55d
...
ce846ec68a
Author | SHA1 | Date |
---|---|---|
coolneng | ce846ec68a | |
coolneng | 08306b4749 |
|
@ -1 +1,4 @@
|
||||||
secrets/soundcloud_token filter=git-crypt diff=git-crypt
|
secrets/soundcloud_token filter=git-crypt diff=git-crypt
|
||||||
|
assets/bitwig/activation.bwreg filter=lfs diff=lfs merge=lfs -text
|
||||||
|
assets/bitwig/bitwig-studio.deb filter=lfs diff=lfs merge=lfs -text
|
||||||
|
assets/bitwig/bitwig.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
!*.jar
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
14
flake.lock
14
flake.lock
|
@ -59,6 +59,19 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"local-bitwig": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 0,
|
||||||
|
"narHash": "sha256-n8gLgN6QEVuHe30kQZ/gCWInDHwDpPWOB5RgVh1tSt8=",
|
||||||
|
"path": "/home/coolneng/Projects/panacea/assets/bitwig",
|
||||||
|
"type": "path"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"path": "/home/coolneng/Projects/panacea/assets/bitwig",
|
||||||
|
"type": "path"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nix-index-database": {
|
"nix-index-database": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -114,6 +127,7 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
"cyrus-sasl-xoauth2": "cyrus-sasl-xoauth2",
|
"cyrus-sasl-xoauth2": "cyrus-sasl-xoauth2",
|
||||||
|
"local-bitwig": "local-bitwig",
|
||||||
"nix-index-database": "nix-index-database",
|
"nix-index-database": "nix-index-database",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"openconnect-sso": "openconnect-sso"
|
"openconnect-sso": "openconnect-sso"
|
||||||
|
|
|
@ -27,6 +27,10 @@
|
||||||
url = "github:Mic92/nix-index-database";
|
url = "github:Mic92/nix-index-database";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
local-bitwig = {
|
||||||
|
url = "path:/home/coolneng/Projects/panacea/assets/bitwig";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, agenix, nix-index-database, ... }@inputs:
|
outputs = { self, nixpkgs, agenix, nix-index-database, ... }@inputs:
|
||||||
|
|
|
@ -38,17 +38,19 @@ in {
|
||||||
};
|
};
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
wireplumber.enable = true;
|
wireplumber.enable = true;
|
||||||
config.pipewire-pulse = let
|
|
||||||
defaultConf = lib.importJSON
|
|
||||||
"${inputs.nixpkgs}/nixos/modules/services/desktops/pipewire/daemon/pipewire-pulse.conf.json";
|
|
||||||
in lib.recursiveUpdate defaultConf {
|
|
||||||
"pulse.properties" = {
|
|
||||||
"server.address" = [ "unix:native" "tcp:127.0.0.1:4713" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
|
# Enable pipewire-pulse's audio via TCP
|
||||||
|
environment.etc."pipewire/pipewire-pulse.conf.d/pulse-server.conf".text = ''
|
||||||
|
pulse.properties: {
|
||||||
|
server.address: [
|
||||||
|
unix:native,
|
||||||
|
tcp:127.0.0.1:4713
|
||||||
|
]
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
|
||||||
# Set up Mopidy
|
# Set up Mopidy
|
||||||
services.mopidy = {
|
services.mopidy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -7,6 +7,13 @@ let
|
||||||
scripts = [ mpvScripts.sponsorblock ];
|
scripts = [ mpvScripts.sponsorblock ];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
patched-bitwig = bitwig-studio.overrideAttrs (old: rec {
|
||||||
|
src = ../assets/bitwig/bitwig-studio.deb;
|
||||||
|
postInstall = ''
|
||||||
|
cp -r ${inputs.local-bitwig}/bitwig.jar $out/libexec/bin/bitwig.jar
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
|
||||||
in {
|
in {
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
# Monitoring
|
# Monitoring
|
||||||
|
@ -55,6 +62,7 @@ in {
|
||||||
mpc_cli
|
mpc_cli
|
||||||
pulsemixer
|
pulsemixer
|
||||||
easyeffects
|
easyeffects
|
||||||
|
patched-bitwig
|
||||||
# Productivity
|
# Productivity
|
||||||
zathura
|
zathura
|
||||||
libreoffice-fresh
|
libreoffice-fresh
|
||||||
|
|
Loading…
Reference in New Issue