2020-06-13 01:18:27 +00:00
|
|
|
{ unstablePkgs, ... }:
|
2020-01-04 05:06:31 +00:00
|
|
|
let inherit (builtins) readFile;
|
|
|
|
in {
|
2020-01-04 04:19:53 +00:00
|
|
|
sound.enable = true;
|
|
|
|
|
|
|
|
environment = {
|
2020-06-13 01:18:27 +00:00
|
|
|
etc."xdg/qutebrowser/config.py".text =
|
|
|
|
let mpv = "${unstablePkgs.mpv}/bin/mpv";
|
|
|
|
in ''
|
|
|
|
${readFile ./config.py}
|
2020-01-04 04:19:53 +00:00
|
|
|
|
2020-06-13 01:18:27 +00:00
|
|
|
config.bind(',m', 'hint links spawn -d ${mpv} {hint-url}')
|
|
|
|
config.bind(',v', 'spawn -d ${mpv} {url}')
|
|
|
|
'';
|
2020-01-04 04:19:53 +00:00
|
|
|
|
|
|
|
sessionVariables.BROWSER = "qute";
|
|
|
|
|
2020-06-13 01:18:27 +00:00
|
|
|
systemPackages = with unstablePkgs; [ qute qutebrowser mpv youtubeDL ];
|
2020-01-04 04:19:53 +00:00
|
|
|
};
|
|
|
|
}
|