Bring back keyd and remove evil-collection hacks

This commit is contained in:
Konstantin Nazarov 2024-06-27 21:46:31 +01:00
parent c6ef109360
commit 3d95472103
Signed by: knazarov
GPG key ID: 4CFE0A42FA409C22
3 changed files with 18 additions and 21 deletions

View file

@ -18,10 +18,6 @@ let
epkgs.treesit-grammars.with-all-grammars epkgs.treesit-grammars.with-all-grammars
epkgs.evil-collection epkgs.evil-collection
]; ];
override = final: prev: {
evil-collection = prev.melpaPackages.evil-collection.overrideAttrs
(old: { patches = [ ./evil-collection.patch ]; });
};
}); });
in { in {
@ -323,20 +319,20 @@ in {
enable = true; enable = true;
keyboards = { keyboards = {
#default = { default = {
#ids = [ "*" ]; ids = [ "*" ];
#settings = { settings = {
#main = { main = {
#capslock = "overload(control, esc)"; capslock = "overload(control, esc)";
#leftalt = "layer(meta_mac)"; leftalt = "layer(meta_mac)";
#leftmeta = "layer(alt)"; leftmeta = "layer(alt)";
#}; };
#"meta_mac:M" = { "meta_mac:M" = {
#c = "C-insert"; c = "C-insert";
#v = "S-insert"; v = "S-insert";
#}; };
#}; };
#}; };
}; };
}; };

View file

@ -1207,6 +1207,7 @@ Intended for `after-make-frame-functions'."
:ensure t :ensure t
:mode "\\.go$" :mode "\\.go$"
:config :config
(setq gofmt-show-errors 'echo)
(add-hook 'before-save-hook #'gofmt-before-save) (add-hook 'before-save-hook #'gofmt-before-save)
) )

View file

@ -90,11 +90,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1718058306, "lastModified": 1719265590,
"narHash": "sha256-xEcT7D3brIiWCYlsN6CT093i0bZ6e0mhmvhzTFaYiDA=", "narHash": "sha256-SScslqk325Ld6+9QMq+it1Wlisq8osZ2BQDrWBE4Cp8=",
"owner": "~knazarov", "owner": "~knazarov",
"repo": "knazarov.com", "repo": "knazarov.com",
"rev": "fa1d523bd1e0b65369ee9c6a0af28a162cdfbb16", "rev": "9e2f8c466d5559eaf19ce8af7ae8c8d4674d4dcf",
"type": "sourcehut" "type": "sourcehut"
}, },
"original": { "original": {