2020-10-24 22:55:15 -05:00
|
|
|
{
|
|
|
|
description = "An example NixOS configuration";
|
|
|
|
|
2020-10-25 05:59:16 -05:00
|
|
|
inputs = {
|
2022-11-04 08:02:24 -05:00
|
|
|
nixpkgs = { url = "github:nixos/nixpkgs/master"; };
|
2020-10-25 05:59:16 -05:00
|
|
|
};
|
2020-10-24 22:55:15 -05:00
|
|
|
|
2022-11-03 18:24:52 -05:00
|
|
|
|
2020-10-25 05:59:16 -05:00
|
|
|
outputs = inputs:
|
2022-11-03 18:24:52 -05:00
|
|
|
{
|
|
|
|
nixosConfigurations = {
|
2020-10-25 05:59:16 -05:00
|
|
|
|
2022-11-13 16:00:48 -06:00
|
|
|
nixos-vm = inputs.nixpkgs.lib.nixosSystem {
|
2022-11-03 18:24:52 -05:00
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
2023-01-24 17:43:04 -06:00
|
|
|
# ./modules/configuration.nix
|
2023-01-17 03:43:58 -06:00
|
|
|
./modules/overlays.nix
|
|
|
|
./modules/environment.nix
|
2022-11-03 18:24:52 -05:00
|
|
|
];
|
|
|
|
};
|
2023-01-24 12:09:22 -06:00
|
|
|
jeran = inputs.nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
./hosts/jeran/configuration.nix
|
2023-01-24 17:43:04 -06:00
|
|
|
./hosts/jeran/motd.nix
|
2023-01-24 10:16:15 -06:00
|
|
|
./modules/environment.nix
|
2023-01-24 17:43:04 -06:00
|
|
|
|
2023-01-24 12:09:22 -06:00
|
|
|
];
|
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
};
|
2020-10-24 22:55:15 -05:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|