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

View File

@ -1,15 +1,6 @@
{ {
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.pdf-tools ])); (epkgs: [ epkgs.vterm ]));
in { in {
# Upgrade Doom Emacs daily # Upgrade Doom Emacs daily
@ -13,6 +13,7 @@ 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.pdf-tools ])); (epkgs: [ epkgs.vterm ]));
in { in {
environment.systemPackages = [ environment.systemPackages = [
@ -28,7 +28,7 @@ in {
# Text editors # Text editors
neovim neovim
emacs-vterm emacs-vterm
(ripgrep.override { withPCRE2 = true; }) ripgrep
fd fd
clang clang
coreutils coreutils