nixos-config/flake.nix

63 lines
1.3 KiB
Nix
Raw Normal View History

2023-10-08 11:42:08 +02:00
{
description = "Materus hosts and user config";
inputs = {
private = {
type = "github";
owner = "materusPL";
repo = "Nixerus";
ref = "mock";
};
2023-10-08 11:42:08 +02:00
nixpkgs = {
type = "github";
owner = "NixOS";
repo = "nixpkgs";
ref = "nixos-unstable";
};
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";
};
};
nixpkgs-stable = {
type = "github";
owner = "NixOS";
repo = "nixpkgs";
ref = "nixos-23.05";
};
hm-stable = {
type = "github";
owner = "nix-community";
repo = "home-manager";
ref = "release-23.05";
inputs.nixpkgs.follows = "nixpkgs-stable";
};
configInputs-stable = {
type = "github";
owner = "materusPL";
repo = "nixos-config";
ref = "inputs";
inputs = {
nixpkgs.follows = "nixpkgs-stable";
home-manager.follows = "hm-stable";
};
};
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 = ./.;
};
}