From 09c76947f12f0f715b13c78b59fc6a68f93ce173 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Tue, 16 Jan 2024 19:52:07 +0000 Subject: [PATCH] Add VM config --- flake.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/flake.nix b/flake.nix index 8773196..2104f43 100644 --- a/flake.nix +++ b/flake.nix @@ -37,6 +37,17 @@ ./hardware-configuration.nix ]; }; + + "vm" = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + # Add Disko for disk management + disko.nixosModules.disko + ./disko-config.nix + ./hardware-configuration.nix + ]; + }; + }; }; }