introduce sops to the config to be able to use encrypted tokens and passwords, also use these in factorio

This commit is contained in:
Christoph Hollizeck 2024-04-27 20:39:13 +02:00
parent e19de9f507
commit 524b5b7d38
No known key found for this signature in database
9 changed files with 226 additions and 30 deletions

View file

@ -32,13 +32,16 @@ in
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
extraConfig = {
"11-bluetooth-policy" = {
"bluetooth_policy.policy" = {
"media-role.use-headset-profile" = false;
};
};
};
wireplumber.configPackages = [
(pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/11-bluetooth-policy.conf" ''
wireplumber.settings = {
bluetooth.autoswitch-to-headset-profile = false
}
'')
(pkgs.writeTextDir "share/wireplumber/policy.lua.d/11-bluetooth-policy.conf" ''
bluetooth_policy.policy["media-role.use-headset-profile"] = false
'')
];
};
};
}