oizys/flake.nix
2023-01-24 17:43:04 -06:00

33 lines
745 B
Nix

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