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"; };
|
2022-11-03 18:24:52 -05:00
|
|
|
nix-ld = {
|
|
|
|
url = "github:Mic92/nix-ld";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
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
|
|
|
/* ignore:: */
|
|
|
|
{
|
|
|
|
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 = [
|
|
|
|
./configuration.nix
|
2022-11-04 08:02:24 -05:00
|
|
|
inputs.nix-ld.nixosModules.nix-ld
|
2020-10-25 05:59:16 -05:00
|
|
|
|
2022-11-03 18:24:52 -05:00
|
|
|
];
|
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
};
|
2020-10-24 22:55:15 -05:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|