Compare commits

..

1 commit

Author SHA1 Message Date
8b185ee137
[chore] flake.lock: update inputs
Some checks failed
/ check (push) Failing after 56s
/ build (audiomenu) (push) Successful in 37s
/ build (docs) (push) Successful in 3s
/ build (jpassmenu) (push) Successful in 28s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Failing after 1m39s
/ build (nvim) (push) Failing after 26s
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/d51c28603def282a24fa034bcb007e2bcb5b5dd0' (2024-10-09)
  → 'github:NixOS/nixpkgs/a3f9ad65a0bf298ed5847629a57808b97e6e8077' (2024-10-12)
• Updated input 'nixvim':
    'github:nix-community/nixvim/5cd8c9cf3104027b42ffe531fb68463ecb08ebc9' (2024-10-10)
  → 'github:nix-community/nixvim/619e24366e8ad34230d65a323d26ca981bfa6927' (2024-10-13)
2024-10-14 03:01:25 +02:00
6 changed files with 21 additions and 40 deletions

View file

@ -2,17 +2,10 @@
{ {
flake.nixosModules = flake.nixosModules =
let let
nvim-config = nvim-config.imports = [
{ pkgs, ... }:
{
imports = [
inputs.nixvim.homeManagerModules.nixvim inputs.nixvim.homeManagerModules.nixvim
(import ../nvim { ../nvim
inherit (inputs) unstable;
inherit (pkgs) system;
})
]; ];
};
homeManagerModuleSandalone = import ../home { homeManagerModuleSandalone = import ../home {
inherit nvim-config; inherit nvim-config;
inherit (inputs) stylix; inherit (inputs) stylix;

View file

@ -9,11 +9,7 @@
nixvim = inputs.nixvim.legacyPackages.${system}; nixvim = inputs.nixvim.legacyPackages.${system};
module = { module = {
inherit pkgs; inherit pkgs;
extraSpecialArgs = { module = ../nvim/standalone.nix;
inherit (inputs) unstable;
inherit system;
};
module = import ../nvim/standalone.nix { standalone = true; };
}; };
in in
{ {

View file

@ -17,6 +17,8 @@
inherit (unstablePkgs) inherit (unstablePkgs)
gitoxide gitoxide
jujutsu jujutsu
neovim-unwrapped
ruff # nixpkgs stable version is improperly configured by nixvim
# wezterm # wezterm
; ;
}; };

View file

@ -1,4 +1,3 @@
{ system, unstable }:
{ lib, config, ... }: { lib, config, ... }:
let let
cfg = config.jhome.nvim; cfg = config.jhome.nvim;
@ -7,9 +6,8 @@ in
imports = [ ./options.nix ]; imports = [ ./options.nix ];
config.programs.nixvim = lib.mkMerge [ config.programs.nixvim = lib.mkMerge [
(import ./standalone.nix { standalone = false; }) ./standalone.nix
(lib.mkIf cfg.enable { (lib.mkIf cfg.enable {
nixpkgs = lib.mkForce { pkgs = import unstable { inherit system; }; };
enable = true; enable = true;
defaultEditor = lib.mkDefault true; defaultEditor = lib.mkDefault true;
}) })

View file

@ -183,7 +183,7 @@ in
servers = { servers = {
bashls = { bashls = {
enable = true; enable = true;
package = pkgs.bash-language-server; package = pkgs.unstable.bash-language-server;
}; };
# clangd.enable = true; # Adds ~2GiB # clangd.enable = true; # Adds ~2GiB
# html.enable = true; # Not writing html # html.enable = true; # Not writing html

View file

@ -1,11 +1,4 @@
{ standalone }: { pkgs, ... }:
{
pkgs,
system,
unstable,
lib,
...
}:
{ {
imports = [ imports = [
./options.nix ./options.nix
@ -15,7 +8,6 @@
]; ];
config = { config = {
nixpkgs = lib.optionalAttrs standalone { pkgs = import unstable { inherit system; }; };
globals.mapleader = " "; globals.mapleader = " ";
# Appearance # Appearance
colorschemes.gruvbox = { colorschemes.gruvbox = {
@ -50,8 +42,8 @@
}; };
extraPlugins = extraPlugins =
let let
plugins = pkgs.vimPlugins; plugins = pkgs.unstable.vimPlugins;
extraPlugins = import ./extraPlugins { inherit pkgs; }; extraPlugins = import ./extraPlugins { pkgs = pkgs.unstable; };
in in
[ [
plugins.nui-nvim plugins.nui-nvim
@ -61,15 +53,15 @@
]; ];
# Formatting & linters # Formatting & linters
extraPackages = [ extraPackages = [
pkgs.luajitPackages.jsregexp pkgs.unstable.luajitPackages.jsregexp
pkgs.shfmt pkgs.unstable.shfmt
pkgs.silicon pkgs.unstable.silicon
pkgs.statix pkgs.unstable.statix
pkgs.stylua pkgs.unstable.stylua
pkgs.taplo pkgs.unstable.taplo
pkgs.typos pkgs.unstable.typos
pkgs.yamlfmt pkgs.unstable.yamlfmt
(pkgs.python3.withPackages (p: [ p.jupytext ])) (pkgs.unstable.python3.withPackages (p: [ p.jupytext ]))
]; ];
extraConfigLuaPre = extraConfigLuaPre =
# lua # lua