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; [ environment.systemPackages = with pkgs; [
alacritty alacritty
discord discord
emacsPgtkGcc
feh feh
firefox firefox
flameshot flameshot

View file

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

View file

@ -1,5 +1,21 @@
{ {
"nodes": { "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": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1618149891, "lastModified": 1618149891,
@ -34,6 +50,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"emacs-overlay": "emacs-overlay",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable" "nixpkgs-unstable": "nixpkgs-unstable"
} }

View file

@ -3,9 +3,10 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-20.09"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-20.09";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; 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 { nixosConfigurations.poseidon = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux"; system = "x86_64-linux";
modules = modules =
@ -35,6 +36,10 @@
modules = modules =
[ [
./boreal.nix ./boreal.nix
{
nixpkgs.overlays = [ emacs-overlay.overlay ];
}
]; ];
}; };
}; };

View file

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