From 485c8f899a973a470ecb193ac18a56651454f733 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Fri, 28 May 2021 15:55:51 -0400 Subject: [PATCH] update dev vm configs --- hosts/{vm => dev-cli}/configuration.nix | 2 +- hosts/{vm => dev-cli}/default.nix | 0 hosts/dev-gui/configuration.nix | 6 ++++++ hosts/dev-gui/default.nix | 5 +++++ 4 files changed, 12 insertions(+), 1 deletion(-) rename hosts/{vm => dev-cli}/configuration.nix (57%) rename hosts/{vm => dev-cli}/default.nix (100%) create mode 100644 hosts/dev-gui/configuration.nix create mode 100644 hosts/dev-gui/default.nix diff --git a/hosts/vm/configuration.nix b/hosts/dev-cli/configuration.nix similarity index 57% rename from hosts/vm/configuration.nix rename to hosts/dev-cli/configuration.nix index 53383a1..cf8243e 100644 --- a/hosts/vm/configuration.nix +++ b/hosts/dev-cli/configuration.nix @@ -1,5 +1,5 @@ { config, lib, ... }: { sconfig.profile = "server"; - users.users.root.password = "toor"; + services.getty.autologinUser = "root"; } diff --git a/hosts/vm/default.nix b/hosts/dev-cli/default.nix similarity index 100% rename from hosts/vm/default.nix rename to hosts/dev-cli/default.nix diff --git a/hosts/dev-gui/configuration.nix b/hosts/dev-gui/configuration.nix new file mode 100644 index 0000000..266aee6 --- /dev/null +++ b/hosts/dev-gui/configuration.nix @@ -0,0 +1,6 @@ +{ config, lib, ... }: +{ + sconfig.profile = "desktop"; + sconfig.gnome = true; + services.getty.autologinUser = "root"; +} diff --git a/hosts/dev-gui/default.nix b/hosts/dev-gui/default.nix new file mode 100644 index 0000000..ca5efb2 --- /dev/null +++ b/hosts/dev-gui/default.nix @@ -0,0 +1,5 @@ +{ + pkgs = "unstable"; + system = "x86_64-linux"; + hardware = "qemu"; +}