-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
37 lines (32 loc) · 1 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
36
37
{
inputs = {
aquaris.url = "github:42loco42/aquaris";
aquaris.inputs.home-manager.follows = "home-manager";
aquaris.inputs.nixpkgs.follows = "nixpkgs";
aquaris.inputs.obscura.follows = "obscura";
home-manager.url = "github:nix-community/home-manager/release-24.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
nur.url = "github:nix-community/nur";
nur.inputs.nixpkgs.follows = "nixpkgs";
obscura.url = "github:42loco42/obscura";
obscura.inputs.nix-github-actions.follows = "";
};
outputs = { aquaris, self, ... }: aquaris.lib.merge [
(aquaris self { })
(
let
system = "x86_64-linux";
pkgs = import self.inputs.nixpkgs { inherit system; };
inherit (pkgs.lib) pipe;
in
{
all = pipe self.nixosConfigurations [
builtins.attrValues
(map (x: x.config.system.build.toplevel))
(pkgs.linkFarmFromDrvs "all")
];
}
)
];
}