Commit latest bunch of small changes
This commit is contained in:
parent
8815c9aaee
commit
f97fbed4fe
4 changed files with 40 additions and 24 deletions
|
@ -160,6 +160,7 @@ in
|
|||
wf-recorder
|
||||
xournalpp
|
||||
dnsutils
|
||||
graphviz
|
||||
#network-manager-applet
|
||||
(clang-tools.override { llvmPackages = llvmPackages_16; }) # mainly for clang-format
|
||||
(emacsWithPackagesFromUsePackage {
|
||||
|
|
14
emacs.el
14
emacs.el
|
@ -288,6 +288,7 @@
|
|||
(evil-set-leader 'normal " ")
|
||||
(evil-define-key 'normal 'global (kbd "<leader>f") 'find-file)
|
||||
(evil-define-key 'normal 'global (kbd "<leader>b") 'switch-to-buffer)
|
||||
(evil-define-key 'normal 'global (kbd "<leader>r") 'consult-ripgrep)
|
||||
|
||||
;; -------- Tools and environment --------
|
||||
|
||||
|
@ -946,6 +947,19 @@ window, unless BACKGROUND (prefix-argument) is non-nil.
|
|||
(add-hook 'c++-mode-hook 'clang-format+-mode)
|
||||
(setq clang-format+-context 'buffer)
|
||||
|
||||
;; for viewing C/C++ coverage reports
|
||||
(use-package cov)
|
||||
(setq cov-coverage-mode t)
|
||||
|
||||
;; Make lcov.info file in the root of the project discoverable
|
||||
;; as the source of coverage
|
||||
(setq cov-coverage-file-paths
|
||||
(list #'(lambda (file-dir file-name)
|
||||
(let ((try (format "%s/lcov.info"
|
||||
(project-root (project-current t)))))
|
||||
(and (file-exists-p try)
|
||||
(cons (file-truename try) 'lcov))))))
|
||||
|
||||
;; Zig
|
||||
|
||||
(use-package zig-mode)
|
||||
|
|
48
flake.lock
48
flake.lock
|
@ -11,11 +11,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1691865829,
|
||||
"narHash": "sha256-5ceau8KBj7WpvfN/QHA0q+lZC3HjNK4CJ7O8c9m8THU=",
|
||||
"lastModified": 1695464766,
|
||||
"narHash": "sha256-u1rpF4ypWlZ80dvXWG9QpeMsbKNV1NdIrOUijnsqV2Y=",
|
||||
"owner": "nix-community",
|
||||
"repo": "emacs-overlay",
|
||||
"rev": "e46cf9e07a3a6c4f065ace50976bf0f915c02d97",
|
||||
"rev": "d073b90d4942257caa847becd802875391daadf5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -29,11 +29,11 @@
|
|||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1689068808,
|
||||
"narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=",
|
||||
"lastModified": 1694529238,
|
||||
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4",
|
||||
"rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -49,11 +49,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1692109167,
|
||||
"narHash": "sha256-2GkXwsPfoPM1zdqMnyRArItgcTINhxR6aiKvzonz+Uo=",
|
||||
"lastModified": 1692221510,
|
||||
"narHash": "sha256-arGqL5Gu7U8fnFTkaK+1dy5f/F+vk/T45gTP1MzxS7Q=",
|
||||
"owner": "~knazarov",
|
||||
"repo": "git-plan",
|
||||
"rev": "b10514e4bab6d935da3a7441014fd37ea1d7e5fd",
|
||||
"rev": "9e39b2cdd29a4fdd7c43fc5f96d624c2bde11169",
|
||||
"type": "sourcehut"
|
||||
},
|
||||
"original": {
|
||||
|
@ -69,11 +69,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1692099905,
|
||||
"narHash": "sha256-/pSusGhmIdSdAaywQRFA5dVbfdIzlWQTecM+E46+cJ0=",
|
||||
"lastModified": 1695108154,
|
||||
"narHash": "sha256-gSg7UTVtls2yO9lKtP0yb66XBHT1Fx5qZSZbGMpSn2c=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "2a6679aa9cc3872c29ba2a57fe1b71b3e3c5649f",
|
||||
"rev": "07682fff75d41f18327a871088d20af2710d4744",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -90,11 +90,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1693772557,
|
||||
"narHash": "sha256-VwHawtQ10MJ1gfASfE+iLBNrne1ryG/cUHVYDqjKejs=",
|
||||
"lastModified": 1695674553,
|
||||
"narHash": "sha256-gl/4yEfN0nsAhY/gBRO/GmxbbJZMQHXERm7Jrr2lJug=",
|
||||
"owner": "~knazarov",
|
||||
"repo": "knazarov.com",
|
||||
"rev": "01b3ebb18ea306084719677a097001451b6a63e9",
|
||||
"rev": "b851bb106e03996a1c00212986217db464b90424",
|
||||
"type": "sourcehut"
|
||||
},
|
||||
"original": {
|
||||
|
@ -105,11 +105,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1693420092,
|
||||
"narHash": "sha256-zCYAQsvk0oF8NkvlBMAqJ2pCtQyfhy/cpUNEzBlsg5w=",
|
||||
"lastModified": 1695479676,
|
||||
"narHash": "sha256-YMcMXZ6xFA05egIwfUBh106AvaTHu3DBFQCnGuJx84Y=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "bca2c87fe83b889c4c671c1f72767607dcc2bcc9",
|
||||
"rev": "805fee6f38428d7ef2ee59b36cf910003cabed71",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -120,11 +120,11 @@
|
|||
},
|
||||
"nixpkgs-stable": {
|
||||
"locked": {
|
||||
"lastModified": 1693341273,
|
||||
"narHash": "sha256-wrsPjsIx2767909MPGhSIOmkpGELM9eufqLQOPxmZQg=",
|
||||
"lastModified": 1695272228,
|
||||
"narHash": "sha256-4uw2OdJPVyjdB+xcDst9SecrNIpxKXJ2usN3M5HVa7o=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "2ab91c8d65c00fd22a441c69bbf1bc9b420d5ea1",
|
||||
"rev": "55ac2a9d2024f15c56adf20da505b29659911da8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -177,11 +177,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1691830846,
|
||||
"narHash": "sha256-ffR5maL8R4gsoF43YZRSBVzB7qYxzG+Ssjjktg80Wy4=",
|
||||
"lastModified": 1695284550,
|
||||
"narHash": "sha256-z9fz/wz9qo9XePEvdduf+sBNeoI9QG8NJKl5ssA8Xl4=",
|
||||
"owner": "Mic92",
|
||||
"repo": "sops-nix",
|
||||
"rev": "5f5d9a3c8bc247eb574823b9f16a79e054dafe73",
|
||||
"rev": "2f375ed8702b0d8ee2430885059d5e7975e38f78",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
~*(MJ12bot|IonCrawl|webprosbot|Sogou|paloaltonetworks|CensysInspect) 1;
|
||||
~*(DotBot|ev-crawler|InternetMeasurement|CheckMarkNetwork|panscient) 1;
|
||||
~*(gdnplus|PunkMap|pdrlabs|SurdotlyBot|researchscan|serpstatbot) 1;
|
||||
~*(MegaIndex) 1;
|
||||
}
|
||||
'';
|
||||
virtualHosts = {
|
||||
|
|
Loading…
Reference in a new issue