feat: add packages from flake
This commit is contained in:
parent
3fc3cf84b1
commit
e7ba863c59
8 changed files with 275 additions and 3 deletions
24
flake.nix
24
flake.nix
|
@ -10,7 +10,25 @@
|
|||
};
|
||||
};
|
||||
|
||||
outputs = { self, flake-parts, ... } @ inputs: flake-parts.lib.mkFlake {inherit inputs;} {
|
||||
systems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
|
||||
};
|
||||
outputs = {
|
||||
self,
|
||||
flake-parts,
|
||||
...
|
||||
} @ inputs:
|
||||
flake-parts.lib.mkFlake {inherit inputs;} {
|
||||
systems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
|
||||
|
||||
perSystem = {pkgs, ...}: {
|
||||
packages = self.overlays.default {} pkgs;
|
||||
formatter = pkgs.alejandra;
|
||||
};
|
||||
|
||||
flake = {
|
||||
overlays.default = import ./pkgs/all-packages.nix;
|
||||
|
||||
nixosModules = {
|
||||
reposilite = import ./modules/reposilite.nix self;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue