NixOS/flake.nix

34 lines
894 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";
agenix.url = "github:ryantm/agenix";
};
outputs = inputs @ { self, nixpkgs, impermanence, agenix, ... }: rec {
imports = [
./configuration.nix
];
nixosConfigurations.orion = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
./hosts/orion
impermanence.nixosModules.impermanence
agenix.nixosModules.default
];
};
nixosConfigurations.luna = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
./hosts/luna
impermanence.nixosModules.impermanence
agenix.nixosModules.default
];
};
};
}