From 613e1c8575f4125583a43ea7ba896736ace091f6 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Tue, 27 Feb 2024 03:39:25 -0500 Subject: [PATCH] Infini-SD: finalize configuration --- hosts/Infini-SD/default.nix | 4 +++- hosts/Infini-SD/filesystems.nix | 6 +++--- hosts/Infini-SD/hardware-configuration.nix | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/hosts/Infini-SD/default.nix b/hosts/Infini-SD/default.nix index 34b4e88..26ed8d1 100644 --- a/hosts/Infini-SD/default.nix +++ b/hosts/Infini-SD/default.nix @@ -1,4 +1,4 @@ -{ lib, ... }: { +{ lib, config, ... }: { imports = [ ./hardware-configuration.nix ./filesystems.nix @@ -6,6 +6,8 @@ networking.hostId = "3275c7d3"; + boot.kernelPackages = lib.mkForce config.boot.zfs.package.latestCompatibleLinuxPackages; + modules = { boot.grub.enable = true; hardware = { diff --git a/hosts/Infini-SD/filesystems.nix b/hosts/Infini-SD/filesystems.nix index 087066e..62c044e 100644 --- a/hosts/Infini-SD/filesystems.nix +++ b/hosts/Infini-SD/filesystems.nix @@ -2,8 +2,8 @@ let uuid = uuid: "/dev/disk/by-uuid/${uuid}"; - main = uuid "ae3f3d98-1d87-47b4-a4ed-d69a896eee69"; - commonOptions = [ "autodefrag" "noatime" "compress-force=zstd:4" ]; + main = uuid "527062b3-7a48-4456-8527-30887c6e9f52"; + commonOptions = [ "autodefrag" "noatime" "compress-force=zstd:1" ]; mkMain' = options: { device = main; @@ -28,7 +28,7 @@ in "/boot" = mkMain [ "subvol=boot" ]; "/boot/efi" = { - device = uuid "D7DB-2291"; + device = uuid "E41C-506A"; fsType = "vfat"; neededForBoot = true; }; diff --git a/hosts/Infini-SD/hardware-configuration.nix b/hosts/Infini-SD/hardware-configuration.nix index 385e273..f8b89a0 100644 --- a/hosts/Infini-SD/hardware-configuration.nix +++ b/hosts/Infini-SD/hardware-configuration.nix @@ -14,5 +14,5 @@ boot.zfs.forceImportRoot = false; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; - info.model = "Portable Installation"; + info.model = "SD Card Installation"; }