Compare commits
2 Commits
ce846ec68a
...
628766e55d
Author | SHA1 | Date |
---|---|---|
coolneng | 628766e55d | |
coolneng | a2458ac39d |
|
@ -1 +1,4 @@
|
|||
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"
|
||||
}
|
||||
},
|
||||
"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": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -114,6 +127,7 @@
|
|||
"inputs": {
|
||||
"agenix": "agenix",
|
||||
"cyrus-sasl-xoauth2": "cyrus-sasl-xoauth2",
|
||||
"local-bitwig": "local-bitwig",
|
||||
"nix-index-database": "nix-index-database",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"openconnect-sso": "openconnect-sso"
|
||||
|
|
|
@ -27,6 +27,10 @@
|
|||
url = "github:Mic92/nix-index-database";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
local-bitwig = {
|
||||
url = "path:/home/coolneng/Projects/panacea/assets/bitwig";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, agenix, nix-index-database, ... }@inputs:
|
||||
|
|
|
@ -38,17 +38,19 @@ in {
|
|||
};
|
||||
pulse.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;
|
||||
|
||||
# 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
|
||||
services.mopidy = {
|
||||
enable = true;
|
||||
|
|
|
@ -7,6 +7,13 @@ let
|
|||
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 {
|
||||
environment.systemPackages = [
|
||||
# Monitoring
|
||||
|
@ -55,6 +62,7 @@ in {
|
|||
mpc_cli
|
||||
pulsemixer
|
||||
easyeffects
|
||||
patched-bitwig
|
||||
# Productivity
|
||||
zathura
|
||||
libreoffice-fresh
|
||||
|
|
Loading…
Reference in New Issue