NixOS/flake.nix

34 lines
894 B
Nix
Raw Normal View History

{
description = "Price Hiller's flake for managing system configurations";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
impermanence.url = "github:nix-community/impermanence";
2023-10-27 23:02:52 -05:00
agenix.url = "github:ryantm/agenix";
};
2023-10-27 23:02:52 -05:00
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
2023-10-27 23:02:52 -05:00
agenix.nixosModules.default
];
};
2023-10-27 01:46:14 -05:00
nixosConfigurations.luna = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
./hosts/luna
impermanence.nixosModules.impermanence
2023-10-27 23:02:52 -05:00
agenix.nixosModules.default
2023-10-27 01:46:14 -05:00
];
};
};
}