feat: fix tewi, ...

This commit is contained in:
Kat Inskip 2022-12-17 20:28:07 +01:00
parent 6457b97513
commit e4bd7ee5e6
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
21 changed files with 425 additions and 224 deletions

3
nixos/base/time.nix Normal file
View file

@ -0,0 +1,3 @@
{ config, ... }: {
services.tzupdate.enable = true;
}

View file

@ -5,13 +5,24 @@
enable = true;
extraConfig = ''
defaults.pcm.rate_converter "speexrate_best"
'';
'';
};
environment.systemPackages = with pkgs; [ pulsemixer ];
environment.systemPackages = with pkgs; [ pulsemixer bluez5-experimental ];
security.rtkit.enable = true;
environment.etc = {
"wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
bluez_monitor.properties = {
["bluez5.enable-sbc-xq"] = true,
["bluez5.enable-msbc"] = true,
["bluez5.enable-hw-volume"] = true,
["bluez5.headset-roles"] = "[ hsp_hs hsp_ag hfp_hf hfp_ag ]"
}
'';
};
services.pipewire = {
enable = true;
config = {
@ -26,9 +37,9 @@
name = "libpipewire-module-protocol-pulse";
args = {
"pulse.min.quantum" = 32; # controls minimum playback quant
"pulse.min.req" = 32; # controls minimum recording quant
"pulse.min.frag" = 32; # controls minimum fragment size
"server.address" =
"pulse.min.req" = 32; # controls minimum recording quant
"pulse.min.frag" = 32; # controls minimum fragment size
"server.address" =
[ "unix:native" ]; # the default address of the server
};
}];

View file

@ -1,6 +1,5 @@
{ config, lib, ... }: with lib; let
lightModeExtend = { config, nixos, ... }: {
gtk.iconTheme.name = mkForce "Papirus-Light";
base16 = {
defaultSchemeName = mkForce "light";
};

View file

@ -24,7 +24,7 @@
interfaces = [
"eno1"
];
ipv4 = "10.1.1.38";
ipv4 = "100.88.107.41";
};
};