2019-12-03 08:18:30 +03:00
|
|
|
{
|
2022-04-09 21:33:13 +03:00
|
|
|
description = "config!!!";
|
2022-04-09 18:01:35 +03:00
|
|
|
|
2022-04-09 21:33:13 +03:00
|
|
|
inputs = {
|
|
|
|
nixos.url = "github:nixos/nixpkgs/release-21.11";
|
|
|
|
latest.url = "github:nixos/nixpkgs/nixos-unstable";
|
2022-04-09 18:01:35 +03:00
|
|
|
|
|
|
|
home.url = "github:nix-community/home-manager/release-21.11";
|
2022-02-18 20:31:01 +03:00
|
|
|
home.inputs.nixpkgs.follows = "nixos";
|
2022-04-09 18:01:35 +03:00
|
|
|
|
2022-04-09 21:33:13 +03:00
|
|
|
nixos-hardware.url = "github:nixos/nixos-hardware";
|
|
|
|
nixos-persistence.url = "github:nix-community/impermanence";
|
2022-02-18 20:31:01 +03:00
|
|
|
};
|
2022-04-09 18:01:35 +03:00
|
|
|
|
2022-04-09 21:33:13 +03:00
|
|
|
outputs = inputs: let
|
|
|
|
lib = (import ./lib inputs.nixos.lib).extend (_: lib: rec {
|
|
|
|
makePkgs = system:
|
|
|
|
import ./pkgs-set {
|
|
|
|
inherit system lib;
|
|
|
|
stable = inputs.nixos;
|
|
|
|
unstable = inputs.latest;
|
2022-04-09 18:01:35 +03:00
|
|
|
};
|
2022-04-09 21:33:13 +03:00
|
|
|
genPkgs = f: lib.genSystems (system: f (makePkgs system));
|
|
|
|
});
|
|
|
|
in rec {
|
|
|
|
nixosConfigurations = import ./hosts {inherit lib inputs;};
|
|
|
|
devShells = import ./shells {inherit lib inputs;};
|
|
|
|
devShell = lib.mapAttrs (_: value: value.default) devShells;
|
|
|
|
};
|
2019-12-03 08:18:30 +03:00
|
|
|
}
|