1
1
Fork 0

Compare commits

..

No commits in common. "f38f84ea0c123694c8fe11acc0ca3a5c331ccef1" and "8f44994e4d858e3a05e3f519725dc68442306328" have entirely different histories.

2 changed files with 21 additions and 24 deletions

View file

@ -37,7 +37,7 @@ _build() {
# Build and send closures to remote machine # Build and send closures to remote machine
if [[ "${argc_target:-}" ]]; then if [[ "${argc_target:-}" ]]; then
nixos-rebuild --flake ".#${argc_target}" --target-host "root@${argc_target}" "$1" --show-trace ${argc_extra:+"${argc_extra[@]}"} nixos-rebuild --flake ".#${argc_target}" --target-host "root@${argc_target}" "$1" -- --show-trace ${argc_extra:+"${argc_extra[@]}"}
else else
# Build current system # Build current system
if [[ "${argc_builder:-}" == nh ]]; then if [[ "${argc_builder:-}" == nh ]]; then

View file

@ -9,15 +9,13 @@ in {
options.custom.services.pipewire.enable = mkOption {default = false;}; options.custom.services.pipewire.enable = mkOption {default = false;};
config = mkIf cfg.enable { config = mkIf cfg.enable {
#!! Realtime priority may cause desync
#// security.rtkit.enable = true;
services = {
pulseaudio.enable = false;
# https://wiki.nixos.org/wiki/PipeWire # https://wiki.nixos.org/wiki/PipeWire
# https://gitlab.freedesktop.org/pipewire/pipewire # https://gitlab.freedesktop.org/pipewire/pipewire
pipewire = { #!! Realtime priority may cause desync
#// security.rtkit.enable = true;
hardware.pulseaudio.enable = false;
services.pipewire = {
enable = true; enable = true;
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true; alsa.support32Bit = true;
@ -38,5 +36,4 @@ in {
}; };
}; };
}; };
};
} }