This commit is contained in:
Alexander Bantyev 2021-03-30 14:05:31 +03:00
parent 6f230b59d3
commit 59bbc4c239
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5
4 changed files with 38 additions and 2 deletions

View File

@ -49,6 +49,22 @@
"type": "github" "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": { "deploy-rs": {
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
@ -399,6 +415,7 @@
"inputs": { "inputs": {
"NUR": "NUR", "NUR": "NUR",
"base16-unclaimed-schemes": "base16-unclaimed-schemes", "base16-unclaimed-schemes": "base16-unclaimed-schemes",
"crdt": "crdt",
"deploy-rs": "deploy-rs", "deploy-rs": "deploy-rs",
"emacs-overlay": "emacs-overlay", "emacs-overlay": "emacs-overlay",
"flake-compat": "flake-compat_2", "flake-compat": "flake-compat_2",

View File

@ -59,6 +59,10 @@
url = "github:AlexxIT/SonoffLAN"; url = "github:AlexxIT/SonoffLAN";
flake = false; flake = false;
}; };
crdt = {
url = "git+https://code.librehq.com/qhong/crdt.el";
flake = false;
};
}; };
outputs = { nixpkgs, nix, self, deploy-rs, ... }@inputs: { outputs = { nixpkgs, nix, self, deploy-rs, ... }@inputs: {

View File

@ -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 = { # secrets-envsubst.emacs = {
# owner = "balsoft:users"; # owner = "balsoft:users";
# directory = "emacs"; # directory = "emacs";
@ -7,7 +19,7 @@
home-manager.users.balsoft = { home-manager.users.balsoft = {
programs.emacs = { programs.emacs = {
enable = true; enable = true;
package = pkgs.emacsPgtk; package = emacs;
extraPackages = epkgs: extraPackages = epkgs:
with epkgs; [ with epkgs; [
use-package use-package
@ -57,6 +69,7 @@
org-caldav org-caldav
envrc envrc
lsp-haskell lsp-haskell
crdt
]; ];
}; };

View File

@ -240,5 +240,7 @@ If point was already at that position, move point to beginning of line."
(envrc-global-mode) (envrc-global-mode)
(advice-add 'lsp :before (lambda (&optional n) (envrc--update)))) (advice-add 'lsp :before (lambda (&optional n) (envrc--update))))
(use-package crdt)
(load-theme 'manoj-dark t) (load-theme 'manoj-dark t)
;;; init.el ends here ;;; init.el ends here