1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2025-04-19 12:43:12 +02:00
parent 403c91ce20
commit 13f0aa60ee
No known key found for this signature in database
3 changed files with 12 additions and 11 deletions

View file

@ -14,14 +14,15 @@
flake-parts.lib.mkFlake {inherit inputs;} {
systems = nixpkgs.lib.systems.flakeExposed;
flake = {
lib = nixpkgs.lib.extend (import ./lib.nix);
nixosConfigurations = self.lib.genNixosConfigurations {inherit inputs;};
};
perSystem = {pkgs, ...}: {
packages.default = pkgs.callPackage ./package.nix {};
perSystem = {lib, pkgs, ...}: {
packages = let
packages = lib.packagesFromDirectoryRecursive {
inherit (pkgs) callPackage;
directory = ./packages;
};
in packages // {
default = packages.helix;
};
};
};
}