feat: failed direnv attempt ig
This commit is contained in:
parent
79b65f3640
commit
830e4ade9d
|
@ -8,9 +8,9 @@ Table of my own keybinds. Here as documentation for myself. I am yet to include
|
|||
> (aka all the keys need to be pressed at the same time)
|
||||
|
||||
| Keybind | Description | Plugins |
|
||||
| ---------------- | ------------------------------------------- | ------------------ |
|
||||
| ------------ | ------------------------------------------- | ------------------ |
|
||||
| vv | Create vertical split | |
|
||||
| \<Space>\<Space> | Save | |
|
||||
| _jl_ | Save | |
|
||||
| _jk_ | Exit insert mode | |
|
||||
| _\<leader>k_ | Insert digraph | |
|
||||
| _\<leader>a_ | Swap last 2 used buffers | |
|
||||
|
@ -47,7 +47,7 @@ The default brackets I load in each buffer are (), [], "", '', {} and \`\`. Diff
|
|||
| \<leader>s | Show symbols using tree-sitter | |
|
||||
| \<leader>gj | List git commits | |
|
||||
| \<leader>gk | List git branches | |
|
||||
| \<leader>p | Interactive file broswer | telescope-file-browser |
|
||||
| _jp_ | Interactive file broswer | telescope-file-browser |
|
||||
| _ui_ | Insert unicode char | |
|
||||
|
||||
### Idris
|
||||
|
|
|
@ -26,7 +26,7 @@ local bindings = {
|
|||
git_commits = "<Leader>gj",
|
||||
git_branches = "<Leader>gk"
|
||||
},
|
||||
["extensions.file_browser.file_browser"] = "<Leader>p",
|
||||
["extensions.file_browser.file_browser"] = {chord = 1, key = "jp"},
|
||||
extensions = {
|
||||
unicode = {
|
||||
picker = {mode = "i", kind = "dropdown", key = "ui", chord = 1}
|
||||
|
|
|
@ -383,7 +383,7 @@
|
|||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
"nixpkgs-unstable"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||
};
|
||||
|
||||
# keyboard layout configuration
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
home-manager.users.adrielus = {
|
||||
programs.direnv.enable = true;
|
||||
programs.direnv.nix-direnv.enable = true;
|
||||
|
||||
# optional for nix flakes support in home-manager 21.11, not required in home-manager unstable or 22.05
|
||||
programs.direnv.nix-direnv.enableFlakes = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,13 +1,19 @@
|
|||
{ pkgs, ... }: {
|
||||
nix = {
|
||||
trustedUsers = [ "root" "adrielus" "@wheel" ];
|
||||
autoOptimiseStore = true;
|
||||
optimise.automatic = true;
|
||||
gc.automatic = false;
|
||||
|
||||
# Emanble nix flakes
|
||||
package = pkgs.nixFlakes;
|
||||
|
||||
trustedUsers = [ "root" "adrielus" "@wheel" ];
|
||||
|
||||
autoOptimiseStore = true;
|
||||
optimise.automatic = true;
|
||||
gc.automatic = true;
|
||||
|
||||
# Protect nix-shell from garbage collection
|
||||
# TODO: look into whether this is still needed when using nix flakes
|
||||
extraOptions = ''
|
||||
keep-outputs = true
|
||||
keep-derivations = true
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue