test and fixes
This commit is contained in:
parent
6100c42027
commit
9e798ede86
35
flake.nix
35
flake.nix
@ -6,14 +6,31 @@
|
|||||||
nvf.url = "github:notashelf/nvf";
|
nvf.url = "github:notashelf/nvf";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {nixpkgs, ...} @ inputs: {
|
outputs = {
|
||||||
packages."x86_64-linux".nvf =
|
self,
|
||||||
(inputs.nvf.lib.neovimConfiguration {
|
nixpkgs,
|
||||||
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
...
|
||||||
modules = [
|
} @ inputs: let
|
||||||
./nvf.nix
|
supportedSystems = ["aarch64-linux" "i686-linux" "x86_64-linux"];
|
||||||
];
|
|
||||||
})
|
# Function to generate a set based on supported systems:
|
||||||
.neovim;
|
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;
|
||||||
|
});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
8
nvf.nix
8
nvf.nix
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user