Compare commits

..

No commits in common. "494644c5548ef806db500e7ce5510aee97ccbcff" and "2b159d74f32dc4c4c9837f5b7d09b049c8a6e6a3" have entirely different histories.

6 changed files with 19 additions and 18 deletions

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

@ -108,6 +108,7 @@ with pkgs;
./modules/printing.nix
./modules/periodic.nix
./modules/power.nix
./modules/cachix.nix
./overlays/emacs.nix
./overlays/nix-direnv.nix
];

View File

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1637793790,
"narHash": "sha256-oPXavjxETEWGXq8g7kQHyRLKUmLX2yPtGn+t3V0mrTY=",
"lastModified": 1637625975,
"narHash": "sha256-ByDgmhpLykhAVeaFggjqoSRdl2OzTDODnxjPuu97fL4=",
"owner": "ryantm",
"repo": "agenix",
"rev": "f85eea0e29fa9a8924571d0e398215e175f80d55",
"rev": "a0e9ca505c82e762d39e9477a428b537a0aab022",
"type": "github"
},
"original": {
@ -37,11 +37,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1637841632,
"narHash": "sha256-QYqiKHdda0EOnLGQCHE+GluD/Lq2EJj4hVTooPM55Ic=",
"lastModified": 1637595801,
"narHash": "sha256-LkIMwVFKCuEqidaUdg8uxwpESAXjsPo4oCz3eJ7RaRw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "73369f8d0864854d1acfa7f1e6217f7d6b6e3fa1",
"rev": "263ef4cc4146c9fab808085487438c625d4426a9",
"type": "github"
},
"original": {

View File

@ -1,15 +1,6 @@
{
description = "System configuration for panacea";
nixConfig = {
extra-substituters =
[ "https://cachix.cachix.org" "https://nix-community.cachix.org" ];
extra-trusted-public-keys = [
"cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
agenix.url = "github:ryantm/agenix";

View File

@ -4,7 +4,7 @@ with pkgs;
let
emacs-vterm = ((emacsPackagesNgGen emacsPgtkGcc).emacsWithPackages
(epkgs: [ epkgs.vterm epkgs.pdf-tools ]));
(epkgs: [ epkgs.vterm ]));
in {
# Upgrade Doom Emacs daily
@ -13,6 +13,7 @@ in {
path = [ bash emacs-vterm git coreutils ];
script = ''
${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -y upgrade"
emacsclient --eval "(pdf-tools-install)"
'';
serviceConfig.Type = "oneshot";
startAt = "22:00:00";

View File

@ -4,7 +4,7 @@ with pkgs;
let
emacs-vterm = ((emacsPackagesNgGen emacsPgtkGcc).emacsWithPackages
(epkgs: [ epkgs.vterm epkgs.pdf-tools ]));
(epkgs: [ epkgs.vterm ]));
in {
environment.systemPackages = [
@ -28,7 +28,7 @@ in {
# Text editors
neovim
emacs-vterm
(ripgrep.override { withPCRE2 = true; })
ripgrep
fd
clang
coreutils