From 7cb632c408fc6d66294af6b336cbbd757323ce30 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Thu, 23 Dec 2021 00:47:40 -0500 Subject: [PATCH] Add VM --- flake.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/flake.nix b/flake.nix index 257c4ad..a505f7c 100644 --- a/flake.nix +++ b/flake.nix @@ -53,5 +53,18 @@ }; modules = [ ./hardware/levitation.nix ] ++ desktopModules; }; + + nixosConfigurations.x86vm = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + specialArgs = { + unstable = import nixpkgs-unstable { + config = { allowUnfree = true; }; + overlays = [ emacs.overlay ]; + system = "x86_64-linux"; + }; + fenix = fenix.packages.x86_64-linux; + }; + modules = desktopModules; + }; }; }