mirror of
https://github.com/pabloaul/lsfg-vk-flake.git
synced 2025-08-27 10:56:29 -03:00
parent
12763fb704
commit
382a1614c0
1 changed files with 11 additions and 9 deletions
20
flake.nix
20
flake.nix
|
@ -1,13 +1,15 @@
|
|||
{
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
outputs = { nixpkgs, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
{
|
||||
packages.${system}.default = pkgs.callPackage ./default.nix { };
|
||||
nixosModules.default = import ./module.nix;
|
||||
};
|
||||
outputs = { nixpkgs, ... }:
|
||||
let
|
||||
forAllSystems = nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" ];
|
||||
in
|
||||
{
|
||||
packages = forAllSystems (system:
|
||||
{ default = nixpkgs.legacyPackages.${system}.callPackage ./default.nix { }; }
|
||||
);
|
||||
|
||||
nixosModules.default = import ./module.nix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue