adapt to flake-parts

This commit is contained in:
NotAShelf 2023-03-31 18:05:28 +03:00
parent f2151efd69
commit 1ba910f8de
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22

View file

@ -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];
};
};
}