Compare commits

...

4 Commits

Author SHA1 Message Date
coolneng 494644c554
flake.lock: Update
Flake lock file changes:

• Updated input 'agenix':
    'github:ryantm/agenix/a0e9ca505c82e762d39e9477a428b537a0aab022' (2021-11-23)
  → 'github:ryantm/agenix/f85eea0e29fa9a8924571d0e398215e175f80d55' (2021-11-24)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/263ef4cc4146c9fab808085487438c625d4426a9' (2021-11-22)
  → 'github:NixOS/nixpkgs/73369f8d0864854d1acfa7f1e6217f7d6b6e3fa1' (2021-11-25)
2021-11-27 18:17:09 +01:00
coolneng 20339dd41a
Build Emacs with pdf-tools support 2021-11-24 23:52:34 +01:00
coolneng 66d750f196
Move cachix configuration to flake.nix 2021-11-24 23:42:09 +01:00
coolneng de3573b88d
Revert "Rebuild pdf-tools after doom upgrade"
This reverts commit ca0e576484.
2021-11-24 23:42:03 +01:00
6 changed files with 18 additions and 19 deletions

View File

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

View File

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

View File

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

View File

@ -1,6 +1,15 @@
{ {
description = "System configuration for panacea"; 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 = { inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable"; nixpkgs.url = "nixpkgs/nixos-unstable";
agenix.url = "github:ryantm/agenix"; agenix.url = "github:ryantm/agenix";

View File

@ -4,7 +4,7 @@ with pkgs;
let let
emacs-vterm = ((emacsPackagesNgGen emacsPgtkGcc).emacsWithPackages emacs-vterm = ((emacsPackagesNgGen emacsPgtkGcc).emacsWithPackages
(epkgs: [ epkgs.vterm ])); (epkgs: [ epkgs.vterm epkgs.pdf-tools ]));
in { in {
# Upgrade Doom Emacs daily # Upgrade Doom Emacs daily
@ -13,7 +13,6 @@ in {
path = [ bash emacs-vterm git coreutils ]; path = [ bash emacs-vterm 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"
emacsclient --eval "(pdf-tools-install)"
''; '';
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
startAt = "22:00:00"; startAt = "22:00:00";

View File

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