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