boreal: setup emacs-pgtk-gcc overlay

This commit is contained in:
Antoine Martin 2021-04-17 20:39:01 +02:00
parent 6bc481259e
commit 6f964c8b13
5 changed files with 31 additions and 1 deletions

View file

@ -3,6 +3,7 @@
environment.systemPackages = with pkgs; [
alacritty
discord
emacsPgtkGcc
feh
firefox
flameshot

View file

@ -10,9 +10,11 @@
binaryCaches = [
"https://alarsyo.cachix.org"
"https://nix-community.cachix.org"
];
binaryCachePublicKeys = [
"alarsyo.cachix.org-1:A6BmcaJek5+ZDWWv3fPteHhPm6U8liS9CbDbmegPfmk="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
gc = {

View file

@ -1,5 +1,21 @@
{
"nodes": {
"emacs-overlay": {
"locked": {
"lastModified": 1618653777,
"narHash": "sha256-jSG1i83pmKwAx6QtkVjyCQT+/LvMEMEVeVDZcOFjRTg=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "905883cd5de24958bfd354c6e335f38f667e7ede",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "master",
"repo": "emacs-overlay",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1618149891,
@ -34,6 +50,7 @@
},
"root": {
"inputs": {
"emacs-overlay": "emacs-overlay",
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable"
}

View file

@ -3,9 +3,10 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-20.09";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
emacs-overlay.url = "github:nix-community/emacs-overlay/master";
};
outputs = { self, nixpkgs, nixpkgs-unstable }: {
outputs = { self, nixpkgs, nixpkgs-unstable, emacs-overlay }: {
nixosConfigurations.poseidon = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
modules =
@ -35,6 +36,10 @@
modules =
[
./boreal.nix
{
nixpkgs.overlays = [ emacs-overlay.overlay ];
}
];
};
};

View file

@ -69,6 +69,11 @@ in
layout = "fr";
xkbVariant = "us";
};
emacs = {
enable = true;
package = pkgs.emacsPgtkGcc;
};
};
sound.enable = true;