forked from pub-solar/os
5d8413a85a
The `specialArgs` defined in `hosts` has kept some modules from working in external flakes. Instead, we simply enumerate packages in `hosts` which should be pulled from `unstablePkgs`.
20 lines
450 B
Nix
20 lines
450 B
Nix
{ pkgs, ... }:
|
|
let inherit (builtins) readFile;
|
|
in {
|
|
sound.enable = true;
|
|
|
|
environment = {
|
|
etc."xdg/qutebrowser/config.py".text = let mpv = "${pkgs.mpv}/bin/mpv";
|
|
in ''
|
|
${readFile ./config.py}
|
|
|
|
config.bind(',m', 'hint links spawn -d ${mpv} {hint-url}')
|
|
config.bind(',v', 'spawn -d ${mpv} {url}')
|
|
'';
|
|
|
|
sessionVariables.BROWSER = "qute";
|
|
|
|
systemPackages = with pkgs; [ qute qutebrowser mpv youtubeDL ];
|
|
};
|
|
}
|