krebs module: add shack network to filebitch

This commit is contained in:
makefu 2020-01-10 09:35:45 +01:00
parent 6cbfc2514f
commit 8c0cf30a2d
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
2 changed files with 15 additions and 1 deletions

View File

@ -38,6 +38,12 @@ in {
ci = true;
cores = 4;
nets = {
shack = {
ip4.addr = "10.42.0.50" ;
aliases = [
"filebitch.shack"
];
};
retiolum = {
ip4.addr = "10.243.189.130";
aliases = [ "filebitch.r" ];

View File

@ -5,6 +5,7 @@
hardware.pulseaudio = {
enable = true;
package = pkgs.pulseaudioFull;
extraModules = [ pkgs.pulseaudio-modules-bt ];
# systemWide = true;
support32Bit = true;
configFile = pkgs.writeText "default.pa" ''
@ -23,7 +24,7 @@
load-module module-switch-on-port-available
'';
};
services.blueman.enable = true;
# presumably a2dp Sink
# Enable profile:
## pacmd set-card-profile "$(pactl list cards short | egrep -o bluez_card[[:alnum:]._]+)" a2dp_sink
@ -32,10 +33,17 @@
hardware.bluetooth = {
enable = true;
powerOnBoot = false;
extraConfig = ''
[general]
Enable=Source,Sink,Media,Socket
'';
};
services.dbus.packages = [ pkgs.blueman ];
nixpkgs.overlays = [
(self: super: {
blueman = super.blueman.overrideAttrs (oldAttrs: {
buildInputs = oldAttrs.buildInputs ++ [ self.gnome3.adwaita-icon-theme ];
});
})];
}