2023-10-08 11:42:08 +02:00
|
|
|
{
|
|
|
|
description = "Materus hosts and user config";
|
|
|
|
inputs = {
|
|
|
|
nixpkgs = {
|
|
|
|
type = "github";
|
|
|
|
owner = "NixOS";
|
|
|
|
repo = "nixpkgs";
|
|
|
|
ref = "nixos-unstable";
|
|
|
|
};
|
|
|
|
private = {
|
|
|
|
type = "github";
|
|
|
|
owner = "materusPL";
|
|
|
|
repo = "Nixerus";
|
|
|
|
ref = "mock";
|
|
|
|
};
|
2023-10-08 16:12:00 +02:00
|
|
|
configInputs = {
|
2023-10-08 16:38:42 +02:00
|
|
|
type = "github";
|
|
|
|
owner = "materusPL";
|
|
|
|
repo = "nixos-config";
|
|
|
|
ref = "inputs";
|
2023-10-08 11:42:08 +02:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
outputs = inputs @ { self, nixpkgs, home-manager, nur, ... }:
|
|
|
|
let
|
|
|
|
systems = [
|
|
|
|
"x86_64-linux"
|
|
|
|
"i686-linux"
|
|
|
|
"aarch64-linux"
|
|
|
|
];
|
|
|
|
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
nixosConfigurations = import ./configurations/host { inherit inputs; materusFlake = self; };
|
|
|
|
homeConfigurations = import ./configurations/home { inherit inputs; materusFlake = self; };
|
|
|
|
selfPath = ./.;
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|