add emacs to microwave

This commit is contained in:
Grigory Shipunov 2022-09-28 22:24:34 +02:00
parent 090acb6881
commit ac73c10a47
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
2 changed files with 33 additions and 0 deletions

24
flake.lock generated
View file

@ -1,5 +1,28 @@
{
"nodes": {
"emacs-overlay": {
"inputs": {
"flake-utils": [
"flake-utils"
],
"nixpkgs": [
"nixpkgs-unstable"
]
},
"locked": {
"lastModified": 1664390640,
"narHash": "sha256-oV7ERAZzzHh//ewzUliQAUpITg6z0BPQk6MrPo/U9bA=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "5a0d13e02555d20144d34fb8c9af4900fe55ce06",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "emacs-overlay",
"type": "github"
}
},
"fenix": {
"inputs": {
"nixpkgs": [
@ -122,6 +145,7 @@
},
"root": {
"inputs": {
"emacs-overlay": "emacs-overlay",
"fenix": "fenix",
"flake-utils": "flake-utils",
"microvm": "microvm",

View file

@ -20,6 +20,12 @@
url = github:nix-community/fenix;
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
emacs-overlay = {
url = github:nix-community/emacs-overlay;
inputs.nixpkgs.follows = "nixpkgs-unstable";
inputs.flake-utils.follows = "flake-utils";
};
};
outputs =
@ -27,6 +33,7 @@
, nixpkgs
, nixpkgs-unstable
, flake-utils
, emacs-overlay
, sops-nix
, microvm
, fenix
@ -56,6 +63,7 @@
./hosts/microwave
./modules/basic-tools.nix
./modules/binary-caches.nix
./modules/emacs.nix
./modules/gnupg.nix
./modules/graphical.nix
./modules/hw-accel-intel.nix
@ -68,6 +76,7 @@
nixpkgs.overlays = [
fenix.overlay
self.overlays.default
emacs-overlay.overlay
];
environment.systemPackages = with pkgs; [
(fenix.packages."x86_64-linux".stable.withComponents [