From ebcbf88be7373183e715a567f559995df4317fd5 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Sat, 17 Dec 2022 18:36:42 -0500 Subject: [PATCH] add testbox --- hosts/default.nix | 1 + hosts/testbox/default.nix | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 hosts/testbox/default.nix diff --git a/hosts/default.nix b/hosts/default.nix index 5076ad3..3a17413 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -16,4 +16,5 @@ builtins.mapAttrs hp = "x86_64-linux"; lenny = "x86_64-linux"; levi = "x86_64-linux"; + testbox = "x86_64-linux"; } diff --git a/hosts/testbox/default.nix b/hosts/testbox/default.nix new file mode 100644 index 0000000..e5e6b7f --- /dev/null +++ b/hosts/testbox/default.nix @@ -0,0 +1,11 @@ +{ config, lib, modulesPath, pkgs, ... }: +{ + sconfig.gnome = true; + sconfig.profile = "desktop"; + services.getty.autologinUser = "root"; + + virtualisation.memorySize = 4096; + imports = [ + (modulesPath + "/virtualisation/qemu-vm.nix") + ]; +}