diff --git a/hosts/rico1/default.nix b/hosts/rico1/default.nix index 6cfa02a..8b5fb6a 100644 --- a/hosts/rico1/default.nix +++ b/hosts/rico1/default.nix @@ -8,9 +8,6 @@ ./security.nix ]; - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - i18n = { defaultLocale = "en_US.UTF-8"; extraLocaleSettings = { diff --git a/hosts/rico1/hardware/default.nix b/hosts/rico1/hardware/default.nix index bb25f2f..6b1535f 100644 --- a/hosts/rico1/hardware/default.nix +++ b/hosts/rico1/hardware/default.nix @@ -1,3 +1,5 @@ { ... }: { imports = [ ./filesystem.nix ./kernel.nix ]; + + hardware.raspberry-pi."4".poe-plus-hat.enable = true; } diff --git a/hosts/rico1/hardware/kernel.nix b/hosts/rico1/hardware/kernel.nix index e29e060..6247463 100644 --- a/hosts/rico1/hardware/kernel.nix +++ b/hosts/rico1/hardware/kernel.nix @@ -1,16 +1,5 @@ { lib -, pkgs , ... }: { - boot = { - initrd = { - availableKernelModules = [ - "usbhid" - "usb_storage" - ]; - systemd.enable = true; - }; - kernelPackages = pkgs.linuxPackages_latest; - }; powerManagement.cpuFreqGovernor = lib.mkDefault "performance"; }