From 6fe5dc9c0427dd3fbe06d013d261036ae2897a12 Mon Sep 17 00:00:00 2001 From: Gabriel Simmer Date: Sun, 30 Jul 2023 22:39:00 +0100 Subject: [PATCH] Add missing pi-related config to Pis --- krops/glasgow/configuration.nix | 8 +++----- krops/seattle/configuration.nix | 10 ++++------ 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/krops/glasgow/configuration.nix b/krops/glasgow/configuration.nix index 325eab9..7a61a29 100644 --- a/krops/glasgow/configuration.nix +++ b/krops/glasgow/configuration.nix @@ -7,14 +7,11 @@ ]; boot = { + supportedFilesystems = [ "nfs" ]; kernelPackages = pkgs.linuxPackages_rpi4; loader = { grub.enable = false; - raspberryPi = { - enable = true; - version = 4; - firmwareConfig = "dtparam=sd_poll_once=on"; - }; + generic-extlinux-compatible.enable = true; }; }; @@ -82,6 +79,7 @@ ]; services = { + rpcbind.enable = true; openssh.enable = true; tailscale.enable = true; k3s = { diff --git a/krops/seattle/configuration.nix b/krops/seattle/configuration.nix index 65d1f18..e383858 100644 --- a/krops/seattle/configuration.nix +++ b/krops/seattle/configuration.nix @@ -7,14 +7,11 @@ ]; boot = { + supportedFilesystems = [ "nfs" ]; kernelPackages = pkgs.linuxPackages_rpi4; loader = { grub.enable = false; - raspberryPi = { - enable = true; - version = 4; - firmwareConfig = "dtparam=sd_poll_once=on"; - }; + generic-extlinux-compatible.enable = true; }; }; @@ -25,7 +22,7 @@ } ]; - + nix = { settings = { auto-optimise-store = true; @@ -82,6 +79,7 @@ ]; services = { + rpcbind.enable = true; openssh.enable = true; tailscale.enable = true; k3s = {