test and fixes

This commit is contained in:
foglar 2025-01-17 16:43:00 +01:00
parent 6100c42027
commit 9e798ede86
2 changed files with 30 additions and 13 deletions

View File

@ -6,14 +6,31 @@
nvf.url = "github:notashelf/nvf"; nvf.url = "github:notashelf/nvf";
}; };
outputs = {nixpkgs, ...} @ inputs: { outputs = {
packages."x86_64-linux".nvf = self,
nixpkgs,
...
} @ inputs: let
supportedSystems = ["aarch64-linux" "i686-linux" "x86_64-linux"];
# Function to generate a set based on supported systems:
forAllSystems = inputs.nixpkgs.lib.genAttrs supportedSystems;
# Attribute set of nixpkgs for each system:
nixpkgsFor =
forAllSystems (system: import inputs.nixpkgs {inherit system;});
in {
packages = forAllSystems (system: let
pkgs = nixpkgsFor.${system};
in {
nvf =
(inputs.nvf.lib.neovimConfiguration { (inputs.nvf.lib.neovimConfiguration {
pkgs = nixpkgs.legacyPackages."x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system};
modules = [ modules = [
./nvf.nix ./nvf.nix
]; ];
}) })
.neovim; .neovim;
});
}; };
} }

View File

@ -14,9 +14,9 @@
lspsaga.enable = false; lspsaga.enable = false;
trouble.enable = true; trouble.enable = true;
lspSignature.enable = true; lspSignature.enable = true;
#otter-nvim.enable = isMaximal; #otter-nvim.enable = true;
#lsplines.enable = isMaximal; #lsplines.enable = true;
#nvim-docs-view.enable = isMaximal; #nvim-docs-view.enable = true;
}; };
debugger = { debugger = {
@ -208,7 +208,7 @@
}; };
presence = { presence = {
neocord.enable = false; neocord.enable = true;
}; };
}; };
} }