Compare commits
2 commits
8f44994e4d
...
f38f84ea0c
Author | SHA1 | Date | |
---|---|---|---|
f38f84ea0c | |||
df8d74d7ea |
2 changed files with 24 additions and 21 deletions
|
@ -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
|
||||||
|
|
|
@ -9,13 +9,15 @@ 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 {
|
||||||
# https://wiki.nixos.org/wiki/PipeWire
|
|
||||||
# https://gitlab.freedesktop.org/pipewire/pipewire
|
|
||||||
#!! Realtime priority may cause desync
|
#!! Realtime priority may cause desync
|
||||||
#// security.rtkit.enable = true;
|
#// security.rtkit.enable = true;
|
||||||
hardware.pulseaudio.enable = false;
|
|
||||||
|
|
||||||
services.pipewire = {
|
services = {
|
||||||
|
pulseaudio.enable = false;
|
||||||
|
|
||||||
|
# https://wiki.nixos.org/wiki/PipeWire
|
||||||
|
# https://gitlab.freedesktop.org/pipewire/pipewire
|
||||||
|
pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
|
@ -36,4 +38,5 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue