mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-10 08:35:57 +08:00
Add emacs
This commit is contained in:
parent
bd14ee0a68
commit
7c9a7ba6c3
3 changed files with 24 additions and 0 deletions
6
features/emacs.nix
Normal file
6
features/emacs.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, inputs, ... }: {
|
||||
nixpkgs.overlays = [ inputs.emacs-overlay.overlay ];
|
||||
environment.systemPackages = with pkgs; [
|
||||
emacsUnstable
|
||||
];
|
||||
}
|
||||
16
flake.lock
generated
16
flake.lock
generated
|
|
@ -17,6 +17,21 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"emacs-overlay": {
|
||||
"locked": {
|
||||
"lastModified": 1618166767,
|
||||
"narHash": "sha256-GX9HpyX64eDkfuvGZgi3UZxUhqahEzyxwIlYLh3m1sM=",
|
||||
"owner": "nix-community",
|
||||
"repo": "emacs-overlay",
|
||||
"rev": "e52579ab1b0fe093ea230116ac175be61488e7ed",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "emacs-overlay",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
|
@ -168,6 +183,7 @@
|
|||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"emacs-overlay": "emacs-overlay",
|
||||
"himalaya": "himalaya",
|
||||
"home-manager": "home-manager",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
nixos-hardware.url = github:NixOS/nixos-hardware/master;
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
himalaya.url = "github:srid/himalaya/nixify-crate2nix";
|
||||
emacs-overlay.url = "github:nix-community/emacs-overlay";
|
||||
};
|
||||
|
||||
outputs = inputs@{ self, home-manager, nixpkgs, ... }:
|
||||
|
|
@ -29,6 +30,7 @@
|
|||
./features/passwordstore.nix
|
||||
./features/syncthing.nix
|
||||
./features/email
|
||||
./features/emacs.nix
|
||||
./features/monitor-brightness.nix
|
||||
|
||||
# home-manager configuration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue