feat: sops-nix configuration

encrypt personal ssh key for git
This commit is contained in:
Poby 2026-03-14 21:22:56 +09:00
parent f86b032c4c
commit 63a3bb6e98
No known key found for this signature in database
10 changed files with 98 additions and 91 deletions

View file

@ -1,4 +1,8 @@
{ lib, ... }:
{
lib,
pkgs,
...
}:
let
options = import ./core/options.nix;
autocmds = import ./core/autocmds.nix { inherit lib; };
@ -11,7 +15,7 @@ let
terminal = import ./plugins/terminal.nix;
theme = import ./appearance/theme.nix;
lsp = import ./lsp/lsp.nix;
treesitter = import ./lsp/treesitter.nix;
treesitter = import ./lsp/treesitter.nix { inherit pkgs; };
autocomplete = import ./lsp/autocomplete.nix;
languages = import ./lsp/languages;
in

View file

@ -1,7 +1,13 @@
{ pkgs, ... }:
{
# treesitter
enable = true;
addDefaultGrammars = true;
grammars = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [
nix
lua
yaml
];
fold = true;
highlight = {
enable = true;