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.enable = true;
|
||||||
|
services.emacs.package = pkgs.emacsNativeComp;
|
||||||
programs.emacs = {
|
programs.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.emacsNativeComp;
|
||||||
|
|
||||||
init = {
|
init = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -19,7 +19,9 @@ in
|
||||||
home.packages = with pkgs; [ anonymousPro e ];
|
home.packages = with pkgs; [ anonymousPro e ];
|
||||||
|
|
||||||
programs.emacs.enable = true;
|
programs.emacs.enable = true;
|
||||||
|
programs.emacs.package = pkgs.emacsNativeComp;
|
||||||
services.emacs.enable = true;
|
services.emacs.enable = true;
|
||||||
|
services.emacs.package = pkgs.emacsNativeComp;
|
||||||
|
|
||||||
home.file.".spacemacs".source = ./spacemacs;
|
home.file.".spacemacs".source = ./spacemacs;
|
||||||
|
|
||||||
|
|
16
flake.lock
16
flake.lock
|
@ -38,6 +38,21 @@
|
||||||
"type": "github"
|
"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-compat": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
@ -318,6 +333,7 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
"deploy-rs": "deploy-rs",
|
"deploy-rs": "deploy-rs",
|
||||||
|
"emacs-overlay": "emacs-overlay",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"mara": "mara",
|
"mara": "mara",
|
||||||
"nixpkgs": "nixpkgs_4",
|
"nixpkgs": "nixpkgs_4",
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
home-manager.url = "github:nix-community/home-manager";
|
home-manager.url = "github:nix-community/home-manager";
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
utils.url = "github:numtide/flake-utils";
|
utils.url = "github:numtide/flake-utils";
|
||||||
|
emacs-overlay.url = "github:nix-community/emacs-overlay";
|
||||||
|
|
||||||
# my apps
|
# my apps
|
||||||
printerfacts = {
|
printerfacts = {
|
||||||
|
@ -31,7 +32,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, deploy-rs, home-manager, agenix, printerfacts, mara
|
outputs = { self, nixpkgs, deploy-rs, home-manager, agenix, printerfacts, mara
|
||||||
, rhea, waifud, ... }:
|
, rhea, waifud, emacs-overlay, ... }:
|
||||||
let
|
let
|
||||||
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
||||||
mkSystem = extraModules:
|
mkSystem = extraModules:
|
||||||
|
@ -49,6 +50,9 @@
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
})
|
})
|
||||||
|
({ config, ... }: {
|
||||||
|
nixpkgs.overlays = [ emacs-overlay.overlay ];
|
||||||
|
})
|
||||||
./common
|
./common
|
||||||
|
|
||||||
printerfacts.nixosModules.${system}.printerfacts
|
printerfacts.nixosModules.${system}.printerfacts
|
||||||
|
|
Loading…
Reference in New Issue