Infini-SD: finalize configuration
This commit is contained in:
parent
9d87b7d540
commit
613e1c8575
3 changed files with 7 additions and 5 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -14,5 +14,5 @@
|
|||
boot.zfs.forceImportRoot = false;
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
|
||||
info.model = "Portable Installation";
|
||||
info.model = "SD Card Installation";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue