2021-06-15 16:22:21 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
programs.qutebrowser = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
quickmarks = {
|
|
|
|
nixpkgs = "https://github.com/NixOS/nixpkgs";
|
|
|
|
home-manager = "https://github.com/nix-community/home-manager";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-09-26 09:08:45 +00:00
|
|
|
test.stubs.qutebrowser = { };
|
2021-06-15 16:22:21 +00:00
|
|
|
|
|
|
|
nmt.script = let
|
|
|
|
quickmarksFile = if pkgs.stdenv.hostPlatform.isDarwin then
|
|
|
|
".qutebrowser/quickmarks"
|
|
|
|
else
|
|
|
|
".config/qutebrowser/quickmarks";
|
|
|
|
in ''
|
|
|
|
assertFileContent \
|
|
|
|
home-files/${quickmarksFile} \
|
|
|
|
${
|
|
|
|
pkgs.writeText "qutebrowser-expected-quickmarks" ''
|
|
|
|
home-manager https://github.com/nix-community/home-manager
|
|
|
|
nixpkgs https://github.com/NixOS/nixpkgs''
|
|
|
|
}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|