mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
adapt to flake-parts
This commit is contained in:
parent
0a172c02df
commit
114f6499e2
1 changed files with 42 additions and 40 deletions
|
@ -1,15 +1,16 @@
|
|||
# Home Manager module
|
||||
{
|
||||
self,
|
||||
{inputs, ...}: {
|
||||
perSystem = {
|
||||
system,
|
||||
config,
|
||||
pkgs,
|
||||
lib ? pkgs.lib,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.programs.neovim-flake;
|
||||
set = self.packages.maximal {mainConfig = cfg.settings;};
|
||||
in
|
||||
with lib; {
|
||||
set = self'.packages.maximal {mainConfig = cfg.settings;};
|
||||
in {
|
||||
meta.maintainers = [maintainers.notashelf];
|
||||
|
||||
options.programs.neovim-flake = {
|
||||
|
@ -42,4 +43,5 @@ in
|
|||
config = mkIf cfg.enable {
|
||||
home.packages = [set.neovim];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue