mirror of
https://github.com/kp2pml30/dotfiles.git
synced 2026-02-16 23:34:42 +04:00
18 lines
449 B
Nix
18 lines
449 B
Nix
{ pkgs
|
|
, lib
|
|
, rootPath
|
|
, config
|
|
, ...
|
|
}:
|
|
let
|
|
cfg = config.kp2pml30;
|
|
in lib.mkIf cfg.opera {
|
|
home-manager.users.${cfg.username}.home = {
|
|
packages = with pkgs; [
|
|
(opera.override { proprietaryCodecs = true; })
|
|
];
|
|
|
|
file.".config/opera/Default/Preferences" = { source = rootPath + "/home/.config/opera/Default/Preferences"; };
|
|
file.".config/opera/Default/Bookmarks" = { source = rootPath + "/home/.config/opera/Default/Bookmarks"; };
|
|
};
|
|
}
|