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