Auto Push
parent
e50e7cbe8a
commit
ff4a8f4e48
|
@ -76,6 +76,19 @@ in
|
|||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
};
|
||||
services.jack = {
|
||||
jackd.enable = true;
|
||||
alsa.enable = false;
|
||||
loopback = {
|
||||
enable = true;
|
||||
# buffering parameters for dmix device to work with ALSA only semi-professional sound programs
|
||||
#dmixConfig = ''
|
||||
# period_size 2048
|
||||
#'';
|
||||
};
|
||||
};
|
||||
users.extraUsers.lzc256.extraGroups = [ "jackaudio" ];
|
||||
|
||||
environment.shellAliases = {
|
||||
nrs = ''sudo /etc/nixos/push.sh; sudo nixos-rebuild switch --option substituter "https://mirrors.ustc.edu.cn/nix-channels/store"'';
|
||||
conf = "sudo vim /etc/nixos/configuration.nix";
|
||||
|
|
Loading…
Reference in New Issue