mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-23 02:39:40 +01:00
28 lines
683 B
Nix
28 lines
683 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
programs.qutebrowser = {
|
|
enable = true;
|
|
|
|
quickmarks = {
|
|
nixpkgs = "https://github.com/NixOS/nixpkgs";
|
|
home-manager = "https://github.com/nix-community/home-manager";
|
|
};
|
|
};
|
|
|
|
nmt.script =
|
|
let
|
|
quickmarksFile =
|
|
if pkgs.stdenv.hostPlatform.isDarwin then
|
|
".qutebrowser/quickmarks"
|
|
else
|
|
".config/qutebrowser/quickmarks";
|
|
in
|
|
''
|
|
assertFileContent \
|
|
home-files/${quickmarksFile} \
|
|
${builtins.toFile "qutebrowser-expected-quickmarks" ''
|
|
home-manager https://github.com/nix-community/home-manager
|
|
nixpkgs https://github.com/NixOS/nixpkgs''}
|
|
'';
|
|
}
|