oizys/flake.nix

30 lines
576 B
Nix
Raw Normal View History

2020-10-24 22:55:15 -05:00
{
description = "An example NixOS configuration";
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-24 22:55:15 -05:00
2022-11-03 18:24:52 -05:00
outputs = inputs:
2022-11-03 18:24:52 -05:00
/* ignore:: */
{
nixosConfigurations = {
2022-11-03 18:24:52 -05:00
nixos = inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
2022-11-04 08:02:24 -05:00
inputs.nix-ld.nixosModules.nix-ld
2022-11-03 18:24:52 -05:00
];
specialArgs = { inherit inputs; };
};
2020-10-24 22:55:15 -05:00
};
};
}