-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
35 lines (34 loc) · 1.24 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
inputs = { flake-utils.url = "github:numtide/flake-utils"; };
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [ self.overlays.liv ];
};
in {
packages.artifakt-server = pkgs.artifakt-server;
packages.invader = pkgs.invader;
packages.libsquish = pkgs.libsquish;
packages.liv-nix-scripts = pkgs.liv-nix-scripts;
packages.mango-os = pkgs.mango-os;
packages.default = pkgs.artifakt-server;
}) // {
overlays.liv = final: prev: {
artifakt-server = final.callPackage ./artifakt-server.nix { };
invader = final.callPackage ./invader.nix { };
libsquish = final.callPackage ./libsquish.nix { };
liv-nix-scripts = final.callPackage ./liv-nix-scripts.nix { };
mango-os = final.callPackage ./mango-os.nix { };
};
overlays.default = self.overlays.liv;
} // {
nixosModules = {
artifakt-server = { config, ... }: {
imports = [ ./artifakt-server-module.nix ];
};
mango-os = { config, ... }: { imports = [ ./mango-os-module.nix ]; };
};
};
}