From 08f0f7e98deda925d07f140f99b78e879dd03187 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sun, 21 Mar 2021 16:57:29 -0400 Subject: Update gutter bootloader --- machines/gutter.nix | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/machines/gutter.nix b/machines/gutter.nix index 5a1f795..8e2c0c6 100644 --- a/machines/gutter.nix +++ b/machines/gutter.nix @@ -13,13 +13,24 @@ networking.useDHCP = false; networking.interfaces.ens3.useDHCP = true; + services.openssh.enable = true; + users.users.root.initialHashedPassword = ""; users.users.root.openssh.authorizedKeys.keys = ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCgvHMjYQ5Ty7Em2Seji6dvYhgQUIbyhiHdzRINYpiOUMuVA8wgJOV0ZggmFFTO5zfJ83m7E5nc/zMuBVHwkx1gJz5ic8YdO9eLIhymQn9R+9fyLA+g+h8uwTi7UlFmQp+My7MYYxdA2tet1wwgm39Yu49mxi8lARUgi4awXn5K/ZFy08GyjGia2E/YKx2gXPKhHsWFKWPO5u8ik0v8AFCliY2wXiG4jkZE2zI0gI5FUp66tpxkaOSZqreH+lVJw+S+GAJIqzGI99zqZsAdpr7m4WALZEYwj9D7/lattSG14CAjXxjqcMSsfi6fV0ZsF1O40eoZ9mNQpIvatXtL6HBSN3kuUfraQMeB8o5kbxwyXt2Fr5hMKtEGYlMv5uPqdn+yHcC51F3RkUxFJplOFwZ3Rh/AjLLMKo+vEtL9UjhTuYiSQ0ySunY5JbBVkJY4z3pLT9MOPnq+KIfBMFBI/eYE6yeMNTHxIFMDaNMFOxWc0SoBDhgZJX5eblYidt/YWMOEPbqJNCrWIzQwtDsiYsF9JS/3D5civwTP/oaASaiJWTAvluwbibMFAC1OSBFb20xM5gD0C1q05pxVMN3Ioy1P0CIvJMLWfQR1yrNbnmoGUGHeSA/gwaxqMg7G+P/SBIheDAYEu5fzXXgFgO3sI8JvIdc1NTJMmHktahb/ecG1MQ== cardno:000605483586"]; boot.loader.efi.canTouchEfiVariables = true; - boot.loader.systemd-boot.enable = true; - boot.loader.systemd-boot.consoleMode = "keep"; - boot.loader.systemd-boot.configurationLimit = 100; + boot.loader.grub.enable = true; + boot.loader.grub.version = 2; + boot.loader.grub.device = "nodev"; + boot.loader.grub.efiSupport = true; + boot.loader.grub.extraConfig = '' + GRUB_TERMINAL="serial" + GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1" + serial --speed 115200 --unit=0 + terminal_input serial + terminal_output serial + ''; + boot.kernelParams = [ "console=tty0" ''console="ttyS0,115200n8"'' ]; # hardware-configuration.nix -- cgit v1.2.3