Use emacsPgtk
This commit is contained in:
parent
1f9c5f8980
commit
26d3e4a1c9
12
flake.lock
12
flake.lock
|
@ -8,11 +8,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1673667358,
|
"lastModified": 1673838100,
|
||||||
"narHash": "sha256-29xEYwKyYQQzpmN7bdCGRTNiSazkpFF6UWYx2RYaKJo=",
|
"narHash": "sha256-iLNzJqL01hHuZcnxNoB7bqj65lfQtEAc7+krVW4R6ck=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "emacs-overlay",
|
"repo": "emacs-overlay",
|
||||||
"rev": "1114c22aeb13c1c2344f237ec57bf155c9fc1a8f",
|
"rev": "b63cf575927c768ad4dbc4a70f64201e59cf3da6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -38,11 +38,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1673612960,
|
"lastModified": 1673704454,
|
||||||
"narHash": "sha256-DWR7hrbecJKmUJCswk9MXZta710mq+3jZwTvHU/UfyY=",
|
"narHash": "sha256-5Wdj1MgdOgn3+dMFIBtg+IAYZApjF8JzwLWDPieg0C4=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e285dd0ca97c264003867c7329f0d1f4f028739c",
|
"rev": "a83ed85c14fcf242653df6f4b0974b7e1c73c6c6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
12
flake.nix
12
flake.nix
|
@ -35,11 +35,10 @@
|
||||||
grammers
|
grammers
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
in {
|
|
||||||
packages.${system} = let
|
|
||||||
custom-emacs =
|
custom-emacs =
|
||||||
with nix; with pkgs;
|
with nix; with pkgs;
|
||||||
((emacsPackagesFor emacs).emacsWithPackages (epkgs: with epkgs; [
|
((emacsPackagesFor emacsPgtk).emacsWithPackages (epkgs: with epkgs; [
|
||||||
avy
|
avy
|
||||||
company
|
company
|
||||||
editorconfig
|
editorconfig
|
||||||
|
@ -80,15 +79,18 @@
|
||||||
ws-butler
|
ws-butler
|
||||||
]));
|
]));
|
||||||
in {
|
in {
|
||||||
emacs = custom-emacs;
|
packages.${system} = {
|
||||||
|
default = custom-emacs;
|
||||||
|
|
||||||
module =
|
module =
|
||||||
with nix; {
|
with nix; {
|
||||||
home.packages = [ custom-emacs ];
|
home.packages = [ custom-emacs ];
|
||||||
|
|
||||||
|
services.emacs.enable = true;
|
||||||
|
|
||||||
xdg.configFile."emacs".source = with pkgs;
|
xdg.configFile."emacs".source = with pkgs;
|
||||||
runCommandNoCC ".emacs.d" {
|
runCommandNoCC ".emacs.d" {
|
||||||
nativeBuildInputs = [ emacs ];
|
nativeBuildInputs = [ emacsPgtk ];
|
||||||
} ''
|
} ''
|
||||||
cp ${./early-init.el} early-init.el
|
cp ${./early-init.el} early-init.el
|
||||||
cp ${./init.el} init.el
|
cp ${./init.el} init.el
|
||||||
|
|
Loading…
Reference in a new issue