Infini-STICK: enable support for ZFS

This commit is contained in:
Infinidoge 2024-02-26 23:50:24 -05:00
parent 968c7b14bc
commit 71ae9d9630
No known key found for this signature in database
2 changed files with 7 additions and 2 deletions

View file

@ -1,9 +1,13 @@
{ lib, ... }: {
{ lib, config, ... }: {
imports = [
./hardware-configuration.nix
./filesystems.nix
];
networking.hostId = "06a3f197";
boot.kernelPackages = lib.mkForce config.boot.zfs.package.latestCompatibleLinuxPackages;
modules = {
boot.grub.enable = true;
hardware = {

View file

@ -10,7 +10,8 @@
boot.kernelModules = [ "kvm-amd" "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.kernelParams = [ "boot.shell_on_fail" ];
boot.supportedFilesystems = [ "btrfs" ];
boot.supportedFilesystems = [ "btrfs" "zfs" ];
boot.zfs.forceImportRoot = false;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
info.model = "Portable Installation";