Infini-STICK: enable support for ZFS
This commit is contained in:
parent
968c7b14bc
commit
71ae9d9630
2 changed files with 7 additions and 2 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue