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"; +}