2026-04-08 02:55:42 +02:00
|
|
|
{
|
|
|
|
|
description = "A very basic flake";
|
|
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
2026-04-09 22:34:12 +02:00
|
|
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
|
|
2026-04-08 02:55:42 +02:00
|
|
|
home-manager = {
|
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2026-04-09 22:34:12 +02:00
|
|
|
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, ... }: {
|
2026-04-08 02:55:42 +02:00
|
|
|
nixosConfigurations.Prometheus = nixpkgs.lib.nixosSystem {
|
|
|
|
|
system = "x86_64-linux";
|
2026-04-09 22:34:12 +02:00
|
|
|
|
|
|
|
|
specialArgs = {
|
|
|
|
|
pkgs-unstable = import nixpkgs-unstable {
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
config.allowUnfree = true;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2026-04-08 02:55:42 +02:00
|
|
|
modules = [
|
2026-04-08 10:58:44 +02:00
|
|
|
./hosts/Prometheus/configuration.nix
|
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
|
];
|
|
|
|
|
};
|
2026-04-09 22:34:12 +02:00
|
|
|
|
2026-04-08 10:58:44 +02:00
|
|
|
nixosConfigurations.Heracles = nixpkgs.lib.nixosSystem {
|
|
|
|
|
system = "x86_64-linux";
|
2026-04-09 22:34:12 +02:00
|
|
|
|
|
|
|
|
specialArgs = {
|
|
|
|
|
pkgs-unstable = import nixpkgs-unstable {
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
config.allowUnfree = true;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2026-04-08 10:58:44 +02:00
|
|
|
modules = [
|
|
|
|
|
./hosts/Heracles/configuration.nix
|
|
|
|
|
home-manager.nixosModules.home-manager
|
2026-04-08 02:55:42 +02:00
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|