Add nvim package output on the flake

This commit is contained in:
2024-12-24 12:02:58 +01:00
parent ea384380cf
commit 2664c8fe5d
3 changed files with 112 additions and 0 deletions
+8
View File
@@ -60,6 +60,7 @@
};
mkSystem = import ./lib/mksystem.nix (inputs // {inherit overlays inputs;});
eachSystem = nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed;
in {
nixosConfigurations.fuhen = mkSystem "fuhen" {
env = "river";
@@ -100,5 +101,12 @@
./modules/gui/ghostty.nix
];
};
packages = eachSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
in rec {
default = nvim;
nvim = import ./nvim (inputs // { inherit pkgs; });
});
};
}