From 9105bd132a2a0af6462b1b7abc3c8b719e84e440 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Wed, 26 May 2021 00:36:00 -0400 Subject: [PATCH] reduce config for test vm --- hosts/vm/configuration.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/hosts/vm/configuration.nix b/hosts/vm/configuration.nix index 8082cfb..53383a1 100644 --- a/hosts/vm/configuration.nix +++ b/hosts/vm/configuration.nix @@ -1,10 +1,5 @@ -{ config, ... }: +{ config, lib, ... }: { sconfig.profile = "server"; - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - fileSystems."/" = { device = "/dev/disk/by-partlabel/_root"; fsType = "ext4"; }; - fileSystems."/boot" = { device = "/dev/disk/by-partlabel/_esp"; fsType = "vfat"; }; - security.sudo.wheelNeedsPassword = false; - users.users.root.openssh.authorizedKeys = config.users.users.sean.openssh.authorizedKeys; + users.users.root.password = "toor"; }