Compare commits

...

3 Commits

6 changed files with 21 additions and 25 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

@ -20,7 +20,7 @@
wg0 = {
address = [ "10.8.0.2/32" ];
privateKeyFile = "/home/coolneng/.wg/keys/privatekey";
dns = [ "176.9.37.132" "116.203.147.31" ];
dns = [ "10.8.0.1" ];
peers = [
# zion
{

View File

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

View File

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

View File

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