feat: rokit, EDITOR=nvim -> programs.neovim

This commit is contained in:
2025-01-26 05:56:45 +00:00
parent ede0370428
commit 7b7b7fad75
28 changed files with 52 additions and 21 deletions

0
.config/nvim/init.lua Normal file → Executable file
View File

6
.config/nvim/lazy-lock.json Normal file → Executable file
View File

@@ -1,12 +1,12 @@
{ {
"conform.nvim": { "branch": "master", "commit": "b829ab38d0a52ba5869723dc7b8377fce4ec96dc" }, "conform.nvim": { "branch": "master", "commit": "363243c03102a531a8203311d4f2ae704c620d9b" },
"fidget.nvim": { "branch": "main", "commit": "a0abbf18084b77d28bc70e24752e4f4fd54aea17" }, "fidget.nvim": { "branch": "main", "commit": "a0abbf18084b77d28bc70e24752e4f4fd54aea17" },
"lazy.nvim": { "branch": "main", "commit": "d8f26efd456190241afd1b0f5235fe6fdba13d4a" }, "lazy.nvim": { "branch": "main", "commit": "d8f26efd456190241afd1b0f5235fe6fdba13d4a" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "e942edf5c85b6a2ab74059ea566cac5b3e1514a4" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "e942edf5c85b6a2ab74059ea566cac5b3e1514a4" },
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" }, "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
"mini.nvim": { "branch": "main", "commit": "f90b6b820062fc06d6d51ed61a0f9b7f9a13b01b" }, "mini.nvim": { "branch": "main", "commit": "7a75a970d0bae09ef579e41dbb20551bdf596f31" },
"nvim-lspconfig": { "branch": "master", "commit": "b4d65bce97795438ab6e1974b3672c17a4865e3c" }, "nvim-lspconfig": { "branch": "master", "commit": "b4d65bce97795438ab6e1974b3672c17a4865e3c" },
"nvim-treesitter": { "branch": "master", "commit": "51562d44fc6280f92bb9a3d87e7b3cb327377ca5" }, "nvim-treesitter": { "branch": "master", "commit": "f3d7c0dafcbc86c4d63f765649c884a03bc1360a" },
"plenary.nvim": { "branch": "master", "commit": "3707cdb1e43f5cea73afb6037e6494e7ce847a66" }, "plenary.nvim": { "branch": "master", "commit": "3707cdb1e43f5cea73afb6037e6494e7ce847a66" },
"rose-pine": { "branch": "main", "commit": "42f0724e0bca9f57f0bcfa688787c37b8d4befe8" }, "rose-pine": { "branch": "main", "commit": "42f0724e0bca9f57f0bcfa688787c37b8d4befe8" },
"telescope.nvim": { "branch": "master", "commit": "415af52339215926d705cccc08145f3782c4d132" } "telescope.nvim": { "branch": "master", "commit": "415af52339215926d705cccc08145f3782c4d132" }

0
.config/nvim/lua/rocketcamel/config/lazy.lua Normal file → Executable file
View File

0
.config/nvim/lua/rocketcamel/init.lua Normal file → Executable file
View File

0
.config/nvim/lua/rocketcamel/plugins/conform.lua Normal file → Executable file
View File

0
.config/nvim/lua/rocketcamel/plugins/lsp.lua Normal file → Executable file
View File

0
.config/nvim/lua/rocketcamel/plugins/mini.lua Normal file → Executable file
View File

0
.config/nvim/lua/rocketcamel/plugins/rose-pine.lua Normal file → Executable file
View File

0
.config/nvim/lua/rocketcamel/plugins/telescope.lua Normal file → Executable file
View File

0
.config/nvim/lua/rocketcamel/plugins/treesitter.lua Normal file → Executable file
View File

0
.config/nvim/lua/rocketcamel/remap.lua Normal file → Executable file
View File

0
.config/nvim/lua/rocketcamel/set.lua Normal file → Executable file
View File

0
.config/ohmyposh/zen.toml Normal file → Executable file
View File

0
.config/ohmyposh/zen.toml.bak Normal file → Executable file
View File

0
.stow-local-ignore Normal file → Executable file
View File

23
nix/flake.lock generated Normal file → Executable file
View File

@@ -88,11 +88,32 @@
"type": "github" "type": "github"
} }
}, },
"rokit": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1737867604,
"narHash": "sha256-Zqez88FVTfXX0MXwIBKhV9RRQrqFYj5sxtschbloaL0=",
"owner": "rocketcamel",
"repo": "rokit-nix",
"rev": "e70887b617a7c38e767497aeb51a07d0ae23817d",
"type": "github"
},
"original": {
"owner": "rocketcamel",
"repo": "rokit-nix",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"nixos-wsl": "nixos-wsl", "nixos-wsl": "nixos-wsl",
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2",
"rokit": "rokit"
} }
} }
}, },

3
nix/flake.nix Normal file → Executable file
View File

@@ -6,6 +6,8 @@
nixos-wsl.url = "github:nix-community/NixOS-WSL/main"; nixos-wsl.url = "github:nix-community/NixOS-WSL/main";
home-manager.url = "github:nix-community/home-manager"; home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
rokit.url = "github:rocketcamel/rokit-nix";
rokit.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = outputs =
@@ -52,6 +54,7 @@
"nix-command" "nix-command"
"flakes" "flakes"
]; ];
environment.systemPackages = [ inputs.rokit.packages.x86_64-linux.rokit ];
} }
] ]
++ ( ++ (

0
nix/home-old.nix Normal file → Executable file
View File

0
nix/hosts/tux/configuration.nix Normal file → Executable file
View File

0
nix/hosts/tux/hardware-configuration.nix Normal file → Executable file
View File

0
nix/hosts/wsl-kumatani/configuration.nix Normal file → Executable file
View File

0
nix/hosts/wsl-usahara/configuration.nix Normal file → Executable file
View File

40
nix/modules/commonPackages.nix Normal file → Executable file
View File

@@ -7,20 +7,28 @@
description = "Common packages"; description = "Common packages";
}; };
}; };
config.commonPackages = with pkgs; [ config = {
wget commonPackages = with pkgs; [
busybox wget
curl busybox
stow curl
gh stow
oh-my-posh gh
neovim oh-my-posh
ripgrep neovim
git ripgrep
gcc git
rustup gcc
nixfmt-rfc-style rustup
asciiquarium nixfmt-rfc-style
]; asciiquarium
config.programs.nix-ld.enable = true; ];
programs.nix-ld.enable = true;
programs.neovim = {
enable = true;
defaultEditor = true;
vimAlias = true;
};
};
} }

0
nix/modules/default.nix Normal file → Executable file
View File

0
nix/modules/hm.nix Normal file → Executable file
View File

0
nix/modules/i3.nix Normal file → Executable file
View File

0
nix/modules/kanata.nix Normal file → Executable file
View File

1
nix/users/luca/zsh.nix Normal file → Executable file
View File

@@ -3,7 +3,6 @@
enableCompletion = true; enableCompletion = true;
autosuggestion.enable = true; autosuggestion.enable = true;
envExtra = '' envExtra = ''
EDITOR=nvim
. "$HOME/.rokit/env" . "$HOME/.rokit/env"
eval "$(oh-my-posh init zsh -c ~/.config/ohmyposh/zen.toml)" eval "$(oh-my-posh init zsh -c ~/.config/ohmyposh/zen.toml)"
''; '';