emacs native comp
Signed-off-by: Xe <me@christine.website>
This commit is contained in:
parent
d035d19bb2
commit
800a5c19dd
|
@ -17,8 +17,10 @@ in {
|
|||
};
|
||||
|
||||
services.emacs.enable = true;
|
||||
services.emacs.package = pkgs.emacsNativeComp;
|
||||
programs.emacs = {
|
||||
enable = true;
|
||||
package = pkgs.emacsNativeComp;
|
||||
|
||||
init = {
|
||||
enable = true;
|
||||
|
|
|
@ -19,7 +19,9 @@ in
|
|||
home.packages = with pkgs; [ anonymousPro e ];
|
||||
|
||||
programs.emacs.enable = true;
|
||||
programs.emacs.package = pkgs.emacsNativeComp;
|
||||
services.emacs.enable = true;
|
||||
services.emacs.package = pkgs.emacsNativeComp;
|
||||
|
||||
home.file.".spacemacs".source = ./spacemacs;
|
||||
|
||||
|
|
16
flake.lock
16
flake.lock
|
@ -38,6 +38,21 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"emacs-overlay": {
|
||||
"locked": {
|
||||
"lastModified": 1650104515,
|
||||
"narHash": "sha256-fuvcZH6wVqRGo/yeJkHh3jmKmTZhYTxTc3xTe+fSkt4=",
|
||||
"owner": "nix-community",
|
||||
"repo": "emacs-overlay",
|
||||
"rev": "ba54077d5eb8fedfede088ce174a6a0aa5e4dc8b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "emacs-overlay",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
@ -318,6 +333,7 @@
|
|||
"inputs": {
|
||||
"agenix": "agenix",
|
||||
"deploy-rs": "deploy-rs",
|
||||
"emacs-overlay": "emacs-overlay",
|
||||
"home-manager": "home-manager",
|
||||
"mara": "mara",
|
||||
"nixpkgs": "nixpkgs_4",
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
home-manager.url = "github:nix-community/home-manager";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
utils.url = "github:numtide/flake-utils";
|
||||
emacs-overlay.url = "github:nix-community/emacs-overlay";
|
||||
|
||||
# my apps
|
||||
printerfacts = {
|
||||
|
@ -31,7 +32,7 @@
|
|||
};
|
||||
|
||||
outputs = { self, nixpkgs, deploy-rs, home-manager, agenix, printerfacts, mara
|
||||
, rhea, waifud, ... }:
|
||||
, rhea, waifud, emacs-overlay, ... }:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
||||
mkSystem = extraModules:
|
||||
|
@ -49,6 +50,9 @@
|
|||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
})
|
||||
({ config, ... }: {
|
||||
nixpkgs.overlays = [ emacs-overlay.overlay ];
|
||||
})
|
||||
./common
|
||||
|
||||
printerfacts.nixosModules.${system}.printerfacts
|
||||
|
|
Loading…
Reference in New Issue