2023-07-08 08:12:35 +00:00
|
|
|
{ pkgs, ... }:
|
2021-06-15 16:22:21 +00:00
|
|
|
|
|
|
|
{
|
2023-07-08 08:12:35 +00:00
|
|
|
programs.qutebrowser = {
|
|
|
|
enable = true;
|
2021-06-15 16:22:21 +00:00
|
|
|
|
2023-07-08 08:12:35 +00:00
|
|
|
quickmarks = {
|
|
|
|
nixpkgs = "https://github.com/NixOS/nixpkgs";
|
|
|
|
home-manager = "https://github.com/nix-community/home-manager";
|
2021-06-15 16:22:21 +00:00
|
|
|
};
|
2023-07-08 08:12:35 +00:00
|
|
|
};
|
2021-06-15 16:22:21 +00:00
|
|
|
|
2023-07-08 08:12:35 +00:00
|
|
|
test.stubs.qutebrowser = { };
|
2021-06-15 16:22:21 +00:00
|
|
|
|
2023-07-08 08:12:35 +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''
|
|
|
|
}
|
|
|
|
'';
|
2021-06-15 16:22:21 +00:00
|
|
|
}
|