Compare commits
4 Commits
2b159d74f3
...
494644c554
Author | SHA1 | Date |
---|---|---|
coolneng | 494644c554 | |
coolneng | 20339dd41a | |
coolneng | 66d750f196 | |
coolneng | de3573b88d |
|
@ -1,8 +0,0 @@
|
||||||
{
|
|
||||||
nix = {
|
|
||||||
binaryCaches = [ "https://nix-community.cachix.org" ];
|
|
||||||
binaryCachePublicKeys = [
|
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
12
flake.lock
12
flake.lock
|
@ -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": {
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue