Convert emacs-vterm and isync-oauth2 to overlays
This commit is contained in:
parent
473b942bec
commit
596963d834
|
@ -171,6 +171,8 @@ with pkgs;
|
|||
./overlays/nix-direnv.nix
|
||||
./overlays/openconnect-sso.nix
|
||||
./overlays/cyrus-sasl-oauth2.nix
|
||||
./overlays/isync-oauth2.nix
|
||||
./overlays/emacs-vterm.nix
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
@ -2,13 +2,7 @@
|
|||
|
||||
with pkgs;
|
||||
|
||||
let
|
||||
emacs-vterm = ((emacsPackagesFor emacs28NativeComp).emacsWithPackages
|
||||
(epkgs: with epkgs; [ vterm pdf-tools ]));
|
||||
isync-oauth2 = isync.overrideAttrs
|
||||
(div: rec { buildInputs = [ openssl patched-cyrus-sasl-oauth2 zlib ]; });
|
||||
|
||||
in {
|
||||
{
|
||||
# Upgrade Doom Emacs daily
|
||||
systemd.user.services.doom-upgrade = {
|
||||
description = "Upgrade Doom Emacs";
|
||||
|
|
|
@ -3,10 +3,6 @@
|
|||
with pkgs;
|
||||
|
||||
let
|
||||
emacs-vterm = ((emacsPackagesFor emacs28NativeComp).emacsWithPackages
|
||||
(epkgs: with epkgs; [ vterm pdf-tools ]));
|
||||
isync-oauth2 = isync.overrideAttrs
|
||||
(div: rec { buildInputs = [ openssl db patched-cyrus-sasl-oauth2 zlib ]; });
|
||||
mpv-sponsorblock = (pkgs.wrapMpv pkgs.mpv-unwrapped {
|
||||
scripts = [ mpvScripts.sponsorblock ];
|
||||
});
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with pkgs;
|
||||
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
emacs-vterm = ((emacsPackagesFor emacs28NativeComp).emacsWithPackages
|
||||
(epkgs: with epkgs; [ vterm pdf-tools ]));
|
||||
})
|
||||
];
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with pkgs;
|
||||
|
||||
{
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
isync-oauth2 = isync.overrideAttrs (div: rec {
|
||||
buildInputs = [ openssl db patched-cyrus-sasl-oauth2 zlib ];
|
||||
});
|
||||
})
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue