Update flake.lock, apply API changes

This commit is contained in:
Erwin Boskma 2022-03-09 11:11:24 +01:00
parent d331343012
commit 3b9d68da2d
Signed by: erwin
GPG key ID: 270B20D17394F7E5
3 changed files with 56 additions and 23 deletions

View file

@ -8,11 +8,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1646107632, "lastModified": 1646360966,
"narHash": "sha256-jhmNDzNICcXc0p+Esi+uWCL1wOkGDyrJGBa0IEnkE08=", "narHash": "sha256-fJ/WHSU45bMJRDqz9yA3B2lwXtW5DKooU+Pzn13GyZI=",
"owner": "kamadorueda", "owner": "kamadorueda",
"repo": "alejandra", "repo": "alejandra",
"rev": "47cbeddfbf60f5b4bbf8723e90b6106ef5da3fbb", "rev": "511c3f6a88b6964e1496fb6f441f4ae5e58bd3ea",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -85,11 +85,11 @@
}, },
"emacs-overlay": { "emacs-overlay": {
"locked": { "locked": {
"lastModified": 1646039184, "lastModified": 1646643944,
"narHash": "sha256-RXA8DpvrHZ2Mhkzn2kC4higVBrU0eCOXsUqdpe9XCJ0=", "narHash": "sha256-JG/hDDUg6Ohn/lY57ZVSiK0ZINw7WOgssKa2dTYPdgY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "a0d6dbea94083b76155ec770f5147f8664573025", "rev": "1cb532d4b97185431c80beefb6454d0e67efd9fc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -166,11 +166,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1645970334, "lastModified": 1646559628,
"narHash": "sha256-6nn4YF9bPtkxkB7bM6yJO3m//p3sGilxNQFjm1epLEM=", "narHash": "sha256-WDoqxH/IPTV8CkI15wwzvXYgXq9UPr8xd8WKziuaynw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "ea85f4b1fdf3f25cf97dc49f4a9ec4eafda2ea25", "rev": "afe96e7433c513bf82375d41473c57d1f66b4e68",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -239,11 +239,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1645800619, "lastModified": 1646658584,
"narHash": "sha256-fCamVUDH0+nACV1P/rqtoD4YGon5HhnW3bU/0IjA8qI=", "narHash": "sha256-si7SXX8yO2sF/StgNJad5xOndekhsY4jL7++FNm+QuQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixos-generators", "repo": "nixos-generators",
"rev": "05773c5d1584cebd5eda41675c3456dcabdef42a", "rev": "aa5e966498a2bc4aaeb8fd979ccec985f85c5f75",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -254,11 +254,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1645433236, "lastModified": 1646497237,
"narHash": "sha256-4va4MvJ076XyPp5h8sm5eMQvCrJ6yZAbBmyw95dGyw4=", "narHash": "sha256-Ccpot1h/rV8MgcngDp5OrdmLTMaUTbStZTR5/sI7zW0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "7f9b6e2babf232412682c09e57ed666d8f84ac2d", "rev": "062a0c5437b68f950b081bbfc8a699d57a4ee026",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -385,11 +385,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1646014761, "lastModified": 1646619817,
"narHash": "sha256-HdXvdU+wV+E1nNzG2vaQsUuBJQID3AB3BX88N8lA37M=", "narHash": "sha256-7CP5de05lc0r6JSMtrDYRxbDYJnBUTKDuYKy0shs7iU=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "c7d9566796b3ad5b257e187e1628488c7429b89e", "rev": "6ee6a13b64ac9b577070ba235e3b1e35303ce7b1",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -40,10 +40,26 @@ with lib; let
else "horus") else "horus")
+ " %u"; + " %u";
icon = "firefox"; icon = "firefox";
categories = "GNOME;GTK;Network;WebBrowser"; categories = ["GNOME" "GTK" "Network" "WebBrowser"];
mimeType = "text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;"; mimeTypes = [
startupNotify = "true"; "text/html"
extraDesktopEntries = { "text/xml"
"application/xhtml+xml"
"application/xml"
"application/rss+xml"
"application/rdf+xml"
"image/gif"
"image/jpeg"
"image/png"
"x-scheme-handler/http"
"x-scheme-handler/https"
"x-scheme-handler/ftp"
"x-scheme-handler/chrome"
"video/webm"
"application/x-xpinstall"
];
startupNotify = true;
extraConfig = {
"X-MultipleArgs" = "false"; "X-MultipleArgs" = "false";
}; };
}; };

View file

@ -16,7 +16,7 @@ in {
enable = true; enable = true;
pulse.enable = true; pulse.enable = true;
media-session = { media-session = {
enable = true; enable = false;
config = { config = {
bluez-monitor.rules = [ bluez-monitor.rules = [
@ -45,6 +45,23 @@ in {
}; };
}; };
environment.etc = {
bluez_monitor = {
target = "wireplumber/bluetooth.lua.d/50-bluez-config.lua";
text = ''
bluez_monitor.properties = {
["bluez5.enable-msbc"] = true,
["bluez5.enable-sbc-xq"] = true,
["bluez5.headset-roles"] = "[ hfp_hf hsp_hs hsp_ag hfp_ag ]",
["bluez5.codecs"] = "[ sbc sbc_xq aac ]",
["bluez5.hfphsp-backend"] = "native",
["bluez5.default.rate"] = 48000,
["bluez5.default.channels"] = 2,
}
'';
};
};
security.rtkit.enable = true; security.rtkit.enable = true;
environment.systemPackages = with pkgs; [pavucontrol]; environment.systemPackages = with pkgs; [pavucontrol];