31 lines
773 B
Nix
31 lines
773 B
Nix
{
|
|
description = "Price Hiller's flake for managing system configurations";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
impermanence.url = "github:nix-community/impermanence";
|
|
};
|
|
|
|
outputs = inputs @ { self, nixpkgs, impermanence, ... }: rec {
|
|
imports = [
|
|
./configuration.nix
|
|
];
|
|
nixosConfigurations.orion = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = inputs;
|
|
modules = [
|
|
./hosts/orion
|
|
impermanence.nixosModules.impermanence
|
|
];
|
|
};
|
|
nixosConfigurations.luna = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = inputs;
|
|
modules = [
|
|
./hosts/luna
|
|
impermanence.nixosModules.impermanence
|
|
];
|
|
};
|
|
};
|
|
}
|