nixdots/flake.nix

26 lines
567 B
Nix
Raw Normal View History

2024-02-21 19:50:17 +00:00
{
2024-02-24 20:56:31 +00:00
description = "ItsDrike's NixOS configuration";
2024-02-21 19:50:17 +00:00
2024-02-24 20:56:31 +00:00
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2024-02-24 21:07:53 +00:00
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
2024-02-24 20:56:31 +00:00
};
2024-02-21 19:50:17 +00:00
2024-02-24 21:07:53 +00:00
outputs = {nixpkgs, ...} @ inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = ["x86_64-linux"];
flake = {
nixosConfigurations = {
2024-02-24 21:44:19 +00:00
vboxnix = nixpkgs.lib.nixosSystem {
2024-02-24 21:24:22 +00:00
modules = [ ./system ./hosts/vbox_nix ];
2024-02-24 21:07:53 +00:00
};
};
2024-02-24 20:56:31 +00:00
};
2024-02-21 19:50:17 +00:00
};
}