NixOS 24.05
This commit is contained in:
parent
7c53de5379
commit
260898d505
|
@ -9,5 +9,5 @@
|
|||
wantedBy = [ "graphical-session.target" ];
|
||||
partOf = [ "graphical-session.target" ];
|
||||
};
|
||||
users.users.agatha.packages = [ pkgs.unstable.protonmail-bridge-gui ];
|
||||
users.users.agatha.packages = [ pkgs.protonmail-bridge-gui ];
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
pinentryFlavor = "gnome3";
|
||||
pinentryPackage = pkgs.pinentry-gnome3;
|
||||
enableExtraSocket = true;
|
||||
};
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-23.11";
|
||||
nixpkgs.url = "nixpkgs/nixos-24.05";
|
||||
nixpkgs-unstable.url = "nixpkgs/nixpkgs-unstable";
|
||||
|
||||
vampysite.url = "git+https://git.lain.faith/sorceress/vampysite";
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-23.11";
|
||||
url = "github:nix-community/home-manager/release-24.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
|
|
|
@ -66,35 +66,28 @@
|
|||
};
|
||||
|
||||
# Creating separate mono sources for Tascam US-4x4HR
|
||||
environment.etc."pipewire/pipewire.conf.d/91-us-4x4hr.conf".text = let
|
||||
name = "US-4x4HR";
|
||||
target = "alsa_input.usb-TASCAM_US-4x4HR_no_serial_number-00.pro-input-0";
|
||||
input = ch: ''
|
||||
{
|
||||
name = libpipewire-module-loopback
|
||||
args = {
|
||||
node.description = "${name} Input ${toString ch} Mono"
|
||||
capture.props = {
|
||||
node.name = "capture.${name}_ch${toString ch}"
|
||||
audio.position = [ AUX${toString ch} ]
|
||||
stream.dont-remix = true
|
||||
target.object = "${target}"
|
||||
node.passive = true
|
||||
}
|
||||
playback.props = {
|
||||
node.name = "${name}_ch${toString ch}"
|
||||
media.class = "Audio/Source"
|
||||
audio.position = [ MONO ]
|
||||
}
|
||||
}
|
||||
}
|
||||
'';
|
||||
in ''
|
||||
context.modules = [
|
||||
${input 0}
|
||||
${input 1}
|
||||
${input 2}
|
||||
${input 3}
|
||||
]
|
||||
'';
|
||||
services.pipewire.extraConfig.pipewire."91-us-4x4hr" = {
|
||||
"context.modules" = let
|
||||
name = "US-4x4HR";
|
||||
target = "alsa_input.usb-TASCAM_US-4x4HR_no_serial_number-00.pro-input-0";
|
||||
input = ch: {
|
||||
"name" = "libpipewire-module-loopback";
|
||||
"args" = {
|
||||
"node.description" = "${name} Input ${toString ch} Mono";
|
||||
"capture.props" = {
|
||||
"node.name" = "capture.${name}_ch${toString ch}";
|
||||
"audio.position" = [ "AUX${toString ch}" ];
|
||||
"stream.dont-remix" = true;
|
||||
"target.object" = target;
|
||||
"node.passive" = true;
|
||||
};
|
||||
"playback.props" = {
|
||||
"node.name" = "${name}_ch${toString ch}";
|
||||
"media.class" = "Audio/Source";
|
||||
"audio.position" = [ "MONO" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
in [ (input 0) (input 1) (input 2) (input 3) ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue