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";
};
outputs = {nixpkgs, ...} @ inputs: {
packages."x86_64-linux".nvf =
(inputs.nvf.lib.neovimConfiguration {
pkgs = nixpkgs.legacyPackages."x86_64-linux";
modules = [
./nvf.nix
];
})
.neovim;
outputs = {
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 {
pkgs = nixpkgs.legacyPackages.${system};
modules = [
./nvf.nix
];
})
.neovim;
});
};
}

View File

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