Fetch gccemacs with pgtk from emacs-overlay

This commit is contained in:
coolneng 2020-12-01 02:02:23 +01:00
parent 695badd6ba
commit 287e5615a4
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
5 changed files with 14 additions and 15 deletions

View File

@ -1,7 +0,0 @@
{
nix = {
binaryCaches = [ "https://mjlbach.cachix.org" ];
binaryCachePublicKeys =
[ "mjlbach.cachix.org-1:dR0V90mvaPbXuYria5mXvnDtFibKYqYc2gtl9MWSkqI=" ];
};
}

8
cachix/nix-community.nix Normal file
View File

@ -0,0 +1,8 @@
{
nix = {
binaryCaches = [ "https://nix-community.cachix.org" ];
binaryCachePublicKeys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
}

View File

@ -6,7 +6,7 @@
systemd.user.services.doom-upgrade = { systemd.user.services.doom-upgrade = {
description = "Upgrade Doom Emacs"; description = "Upgrade Doom Emacs";
wantedBy = [ "default.target" ]; wantedBy = [ "default.target" ];
path = with pkgs; [ bash emacsGccPgtk git coreutils ]; path = with pkgs; [ bash emacsPgtkGcc git coreutils ];
script = script =
"${pkgs.bash}/bin/bash -c '/home/coolneng/.emacs.d/bin/doom -y upgrade'"; "${pkgs.bash}/bin/bash -c '/home/coolneng/.emacs.d/bin/doom -y upgrade'";
serviceConfig = { Type = "oneshot"; }; serviceConfig = { Type = "oneshot"; };
@ -25,7 +25,7 @@
systemd.user.services.doom-purge = { systemd.user.services.doom-purge = {
description = "Purge Doom Emacs"; description = "Purge Doom Emacs";
wantedBy = [ "default.target" ]; wantedBy = [ "default.target" ];
path = with pkgs; [ bash emacsGccPgtk git coreutils ]; path = with pkgs; [ bash emacsPgtkGcc git coreutils ];
script = script =
"${pkgs.bash}/bin/bash -c '/home/coolneng/.emacs.d/bin/doom -y purge'"; "${pkgs.bash}/bin/bash -c '/home/coolneng/.emacs.d/bin/doom -y purge'";
serviceConfig = { Type = "oneshot"; }; serviceConfig = { Type = "oneshot"; };
@ -45,10 +45,8 @@
description = "Upgrade Vim-Plug"; description = "Upgrade Vim-Plug";
wantedBy = [ "default.target" ]; wantedBy = [ "default.target" ];
path = [ pkgs.git pkgs.neovim ]; path = [ pkgs.git pkgs.neovim ];
serviceConfig = { script = "${pkgs.neovim}/bin/nvim +PlugUpgrade +PlugUpdate +qa";
Type = "oneshot"; serviceConfig = { Type = "oneshot"; };
ExecStart = "${pkgs.neovim}/bin/nvim +PlugUpgrade +PlugUpdate +qa";
};
}; };
systemd.user.timers.vim-plug-upgrade = { systemd.user.timers.vim-plug-upgrade = {

View File

@ -20,7 +20,7 @@
haskellPackages.pandoc-citeproc haskellPackages.pandoc-citeproc
# Text editors # Text editors
neovim neovim
emacsGccPgtk emacsPgtkGcc
ripgrep ripgrep
fd fd
clang clang

View File

@ -2,7 +2,7 @@
nixpkgs.overlays = [ nixpkgs.overlays = [
(import (builtins.fetchTarball { (import (builtins.fetchTarball {
url = url =
"https://github.com/mjlbach/emacs-pgtk-nativecomp-overlay/archive/master.tar.gz"; "https://github.com/nix-community/emacs-overlay/archive/master.tar.gz";
})) }))
]; ];
} }