mirror of https://github.com/Nofated095/Q2TG.git
fix: nixosModules missing
This commit is contained in:
parent
da92750f7d
commit
3b1943961a
41
flake.nix
41
flake.nix
|
@ -7,25 +7,26 @@
|
|||
nix2container.url = "github:nlewo/nix2container";
|
||||
};
|
||||
outputs = { self, nixpkgs, flake-utils, nix2container }:
|
||||
flake-utils.lib.eachDefaultSystem
|
||||
(system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
flakePkgs = self.packages.${system};
|
||||
nix2containerPkgs = nix2container.packages.${system};
|
||||
in
|
||||
{
|
||||
packages = {
|
||||
default = import ./default.nix { inherit pkgs; };
|
||||
tgs-to-gif = pkgs.callPackage "${import ./nixos/clansty-flake.nix}/packages/tgs-to-gif" { };
|
||||
prisma-patched = pkgs.callPackage ./nixos/prismaPatched.nix { };
|
||||
fontsSf = pkgs.callPackage ./nixos/fontsSf.nix { };
|
||||
docker = import ./docker.nix {
|
||||
inherit pkgs flakePkgs;
|
||||
nix2container = nix2containerPkgs.nix2container;
|
||||
};
|
||||
{
|
||||
nixosModules.default = import ./nixos/module.nix { inherit self; };
|
||||
} // flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
flakePkgs = self.packages.${system};
|
||||
nix2containerPkgs = nix2container.packages.${system};
|
||||
in
|
||||
{
|
||||
packages = {
|
||||
default = import ./default.nix { inherit pkgs; };
|
||||
tgs-to-gif = pkgs.callPackage "${import ./nixos/clansty-flake.nix}/packages/tgs-to-gif" { };
|
||||
prisma-patched = pkgs.callPackage ./nixos/prismaPatched.nix { };
|
||||
fontsSf = pkgs.callPackage ./nixos/fontsSf.nix { };
|
||||
docker = import ./docker.nix {
|
||||
inherit pkgs flakePkgs;
|
||||
nix2container = nix2containerPkgs.nix2container;
|
||||
};
|
||||
devShells.default = import ./shell.nix { inherit pkgs flakePkgs; };
|
||||
}
|
||||
);
|
||||
};
|
||||
devShells.default = import ./shell.nix { inherit pkgs flakePkgs; };
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue