mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-21 15:49:48 +01:00
use config.packages
This commit is contained in:
parent
1ba910f8de
commit
c818cc108e
1 changed files with 39 additions and 42 deletions
|
@ -1,16 +1,14 @@
|
|||
# Home Manager module
|
||||
{inputs, ...}: {
|
||||
perSystem = {
|
||||
system,
|
||||
config,
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib ? pkgs.lib,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.programs.neovim-flake;
|
||||
set = self'.packages.maximal {mainConfig = cfg.settings;};
|
||||
in {
|
||||
set = config.packages.maximal {mainConfig = cfg.settings;};
|
||||
in {
|
||||
meta.maintainers = [maintainers.notashelf];
|
||||
|
||||
options.programs.neovim-flake = {
|
||||
|
@ -43,5 +41,4 @@
|
|||
config = mkIf cfg.enable {
|
||||
home.packages = [set.neovim];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue