oizys/flake.nix
2023-05-03 16:32:06 -05:00

41 lines
1 KiB
Nix

{
description = "An example NixOS configuration";
inputs = {
nixpkgs = { url = "github:nixos/nixpkgs/nixos-unstable"; };
};
outputs = inputs:
{
nixosConfigurations = {
nixos-vm = inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./modules/configuration.nix
./modules/overlays.nix
./modules/environment.nix
];
specialArgs = { inherit inputs; };
};
jeran = inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./hosts/jeran/configuration.nix
./hosts/jeran/motd.nix
./modules/environment.nix
];
specialArgs = { inherit inputs; };
};
algiz = inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./hosts/algiz/configuration.nix
./hosts/algiz/motd.nix
./modules/environment.nix
];
specialArgs = { inherit inputs; };
};
};
};
}