emacs: switch to emacsGcc

This commit is contained in:
Jez Cope 2021-05-25 10:11:06 +01:00
parent 3ef7c04461
commit 5993d9a7a6
3 changed files with 20 additions and 2 deletions

View File

@ -1,5 +1,20 @@
{
"nodes": {
"emacs-overlay": {
"locked": {
"lastModified": 1621740021,
"narHash": "sha256-uLu8Zgrkbsq8mnl6LjbcMvItFyAaLH45Iik5qMmb9T0=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "5df3462dda05d8e44669cf374776274e1bc47d0a",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "emacs-overlay",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -52,6 +67,7 @@
},
"root": {
"inputs": {
"emacs-overlay": "emacs-overlay",
"home-manager": "home-manager",
"nixos": "nixos",
"nur": "nur"

View File

@ -8,9 +8,10 @@
home-manager.inputs.nixpkgs.follows = "nixos";
nur.url = "github:nix-community/NUR";
emacs-overlay.url = "github:nix-community/emacs-overlay";
};
outputs = { self, nixos, home-manager, nur }: {
outputs = { self, nixos, home-manager, nur, emacs-overlay }: {
nixosConfigurations = nixos.lib.attrsets.genAttrs [ "arianrhod" "gwydion" ]
(hostname:
@ -22,7 +23,7 @@
(./hosts + "/${hostname}/hardware.nix")
(./secrets + "/${hostname}.nix")
home-manager.nixosModules.home-manager
{ nixpkgs.overlays = [ nur.overlay ]; }
{ nixpkgs.overlays = [ nur.overlay emacs-overlay.overlay ]; }
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = false;

View File

@ -55,6 +55,7 @@
};
programs.emacs.enable = true;
programs.emacs.package = pkgs.emacsGcc;
services.gpg-agent.extraConfig = ''
allow-emacs-pinentry