Add crdt
This commit is contained in:
parent
6f230b59d3
commit
59bbc4c239
17
flake.lock
17
flake.lock
@ -49,6 +49,22 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"crdt": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1613110836,
|
||||
"narHash": "sha256-i37FEsWPFgowMogUFwdu2iOBXS3rvNFh7w8cEhyERkk=",
|
||||
"ref": "master",
|
||||
"rev": "3a2424afa91e2205a18af68972537df8695e7c06",
|
||||
"revCount": 69,
|
||||
"type": "git",
|
||||
"url": "https://code.librehq.com/qhong/crdt.el"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://code.librehq.com/qhong/crdt.el"
|
||||
}
|
||||
},
|
||||
"deploy-rs": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
@ -399,6 +415,7 @@
|
||||
"inputs": {
|
||||
"NUR": "NUR",
|
||||
"base16-unclaimed-schemes": "base16-unclaimed-schemes",
|
||||
"crdt": "crdt",
|
||||
"deploy-rs": "deploy-rs",
|
||||
"emacs-overlay": "emacs-overlay",
|
||||
"flake-compat": "flake-compat_2",
|
||||
|
@ -59,6 +59,10 @@
|
||||
url = "github:AlexxIT/SonoffLAN";
|
||||
flake = false;
|
||||
};
|
||||
crdt = {
|
||||
url = "git+https://code.librehq.com/qhong/crdt.el";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, nix, self, deploy-rs, ... }@inputs: {
|
||||
|
@ -1,4 +1,16 @@
|
||||
{ pkgs, config, lib, ... }: {
|
||||
{ pkgs, config, lib, inputs, ... }:
|
||||
let
|
||||
emacs = pkgs.emacsPgtk;
|
||||
crdt = (pkgs.emacsPackagesNgFor emacs).trivialBuild {
|
||||
pname = "crdt";
|
||||
version = "0.0.0";
|
||||
phases = [ "buildPhase" "installPhase" ];
|
||||
buildPhase = ''
|
||||
cp ${inputs.crdt}/*.el .
|
||||
'';
|
||||
};
|
||||
in
|
||||
{
|
||||
# secrets-envsubst.emacs = {
|
||||
# owner = "balsoft:users";
|
||||
# directory = "emacs";
|
||||
@ -7,7 +19,7 @@
|
||||
home-manager.users.balsoft = {
|
||||
programs.emacs = {
|
||||
enable = true;
|
||||
package = pkgs.emacsPgtk;
|
||||
package = emacs;
|
||||
extraPackages = epkgs:
|
||||
with epkgs; [
|
||||
use-package
|
||||
@ -57,6 +69,7 @@
|
||||
org-caldav
|
||||
envrc
|
||||
lsp-haskell
|
||||
crdt
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -240,5 +240,7 @@ If point was already at that position, move point to beginning of line."
|
||||
(envrc-global-mode)
|
||||
(advice-add 'lsp :before (lambda (&optional n) (envrc--update))))
|
||||
|
||||
(use-package crdt)
|
||||
|
||||
(load-theme 'manoj-dark t)
|
||||
;;; init.el ends here
|
||||
|
Loading…
Reference in New Issue
Block a user