From 5331baa0375441088d77f23cc31967cbea590ad2 Mon Sep 17 00:00:00 2001 From: Sense T Date: Tue, 18 Jul 2023 14:08:18 +0000 Subject: [PATCH] use bootloader --- Makefile | 4 ++-- hardware-configuration.nix | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a7a5a70..dde5244 100644 --- a/Makefile +++ b/Makefile @@ -5,10 +5,10 @@ ############################################################################ deploy: - nixos-rebuild switch --flake '.#gpd' --use-remote-sudo + nixos-rebuild switch --flake '.#default' --use-remote-sudo debug: - nixos-rebuild switch --flake '.#gpd' --use-remote-sudo --show-trace --verbose + nixos-rebuild switch --flake '.#default' --use-remote-sudo --show-trace --verbose update: nix flake update diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 11e8022..d4643e9 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -12,6 +12,10 @@ boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; + boot.loader.raspberryPi.enable = true; + boot.loader.raspberryPi.firmwareConfig = '' + force_turbo=1 + ''; fileSystems."/" = { device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";