Make home manager stable
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
# Language servers
|
||||
yaml-language-server
|
||||
marksman
|
||||
dockerfile-language-server
|
||||
pkgs.unstable.dockerfile-language-server # Use unstable for latest LSP features
|
||||
|
||||
# Secrets management
|
||||
sops
|
||||
|
||||
@@ -43,10 +43,10 @@ in
|
||||
|
||||
(lib.mkIf cfg.enable {
|
||||
home.packages =
|
||||
(lib.optional cfg.claude-code.enable pkgs.claude-code) ++
|
||||
(lib.optional cfg.opencode.enable pkgs.opencode) ++
|
||||
(lib.optional cfg.gemini-cli.enable pkgs.gemini-cli) ++
|
||||
(lib.optional (cfg.bubblewrap.enable && pkgs.stdenv.isLinux) pkgs.bubblewrap);
|
||||
(lib.optional cfg.claude-code.enable pkgs.unstable.claude-code) ++
|
||||
(lib.optional cfg.opencode.enable pkgs.unstable.opencode) ++
|
||||
(lib.optional cfg.gemini-cli.enable pkgs.unstable.gemini-cli) ++
|
||||
(lib.optional (cfg.bubblewrap.enable && pkgs.stdenv.isLinux) pkgs.unstable.bubblewrap);
|
||||
})
|
||||
];
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
programs.git = {
|
||||
@@ -59,6 +59,7 @@
|
||||
];
|
||||
};
|
||||
|
||||
# Difftastic - modern diff tool
|
||||
programs.difftastic = {
|
||||
enable = true;
|
||||
git.enable = true;
|
||||
|
||||
@@ -71,7 +71,9 @@
|
||||
(nvim-treesitter.withPlugins (p: [ p.awk p.bash p.c p.c_sharp p.cpp p.css p.diff p.dockerfile p.doxygen p.git_config p.gitcommit p.go p.gomod p.gosum p.gotmpl p.helm p.haskell p.html p.http p.java p.javascript p.json p.latex p.lua p.markdown p.markdown_inline p.matlab p.nix p.printf p.python p.regex p.rust p.sql p.strace p.supercollider p.svelte p.swift p.terraform p.tmux p.toml p.typescript p.vim p.xml p.yaml p.zig ]))
|
||||
];
|
||||
|
||||
initLua = builtins.concatStringsSep "\n" [
|
||||
# Use extraLuaConfig for home-manager 25.11 compatibility
|
||||
# (initLua was renamed from extraLuaConfig in later versions)
|
||||
extraLuaConfig = builtins.concatStringsSep "\n" [
|
||||
(lib.strings.fileContents ../../../nvim/base.lua)
|
||||
(lib.strings.fileContents ../../../nvim/keymaps.lua)
|
||||
(lib.strings.fileContents ../../../nvim/plugins.lua)
|
||||
|
||||
Reference in New Issue
Block a user