2023-10-08 11:42:08 +02:00
|
|
|
{
|
|
|
|
description = "Materus hosts and user config";
|
|
|
|
inputs = {
|
2023-10-27 14:01:54 +02:00
|
|
|
private = {
|
|
|
|
type = "github";
|
|
|
|
owner = "materusPL";
|
|
|
|
repo = "Nixerus";
|
|
|
|
ref = "mock";
|
|
|
|
};
|
|
|
|
|
2023-10-08 11:42:08 +02:00
|
|
|
nixpkgs = {
|
|
|
|
type = "github";
|
2023-11-20 14:14:23 +01:00
|
|
|
owner = "NixOS";
|
|
|
|
repo = "nixpkgs";
|
2023-10-08 11:42:08 +02:00
|
|
|
ref = "nixos-unstable";
|
|
|
|
};
|
2023-10-27 14:01:54 +02:00
|
|
|
|
2023-11-20 14:14:23 +01: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";
|
|
|
|
};
|
|
|
|
};
|
2023-11-03 16:07:18 +01:00
|
|
|
|
|
|
|
nixpkgs-stable = {
|
|
|
|
type = "github";
|
|
|
|
owner = "NixOS";
|
|
|
|
repo = "nixpkgs";
|
2023-12-22 11:53:49 +01:00
|
|
|
ref = "nixos-23.11";
|
2023-11-03 16:07:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
hm-stable = {
|
|
|
|
type = "github";
|
|
|
|
owner = "nix-community";
|
|
|
|
repo = "home-manager";
|
2023-12-22 11:53:49 +01:00
|
|
|
ref = "release-23.11";
|
2023-11-03 16:07:18 +01:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs-stable";
|
|
|
|
};
|
|
|
|
|
2023-10-27 14:01:54 +02:00
|
|
|
configInputs-stable = {
|
|
|
|
type = "github";
|
|
|
|
owner = "materusPL";
|
|
|
|
repo = "nixos-config";
|
|
|
|
ref = "inputs";
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.follows = "nixpkgs-stable";
|
2023-11-03 16:07:18 +01:00
|
|
|
home-manager.follows = "hm-stable";
|
2023-10-27 14:01:54 +02:00
|
|
|
};
|
|
|
|
};
|
2023-10-08 11:42:08 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
outputs = inputs @ { self, nixpkgs, home-manager, nur, ... }:
|
|
|
|
rec {
|
|
|
|
nixosConfigurations = import ./configurations/host { inherit inputs; materusFlake = self; };
|
|
|
|
homeConfigurations = import ./configurations/home { inherit inputs; materusFlake = self; };
|
|
|
|
selfPath = ./.;
|
|
|
|
};
|
|
|
|
}
|