The Wings module has been brought to a working state, and flake.nix has been updated
This commit is contained in:
21
flake.nix
21
flake.nix
@@ -6,14 +6,27 @@
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils }:
|
||||
flake-utils.lib.eachSystem ["x86_64-linux" "aarch64-linux"] (system:
|
||||
outputs = { self, nixpkgs, flake-utils }:
|
||||
let
|
||||
forAllSystems = flake-utils.lib.eachSystem [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
];
|
||||
in
|
||||
{
|
||||
nixosModules = rec {
|
||||
wings = ./modules/wings;
|
||||
default = wings;
|
||||
};
|
||||
|
||||
packages = forAllSystems (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
{
|
||||
packages.wings = pkgs.callPackage ./pkgs/wings { };
|
||||
nixosModules.wings = import ./modules/wings { };
|
||||
wings = pkgs.callPackage ./pkgs/wings { };
|
||||
default = self.packages.${system}.wings;
|
||||
}
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user