mirror of
https://github.com/zoriya/flake.git
synced 2026-06-02 02:35:46 +00:00
Add nvim package output on the flake
This commit is contained in:
@@ -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; });
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user