tweak: host testing
This commit is contained in:
parent
daff922742
commit
38b0b6fc11
2 changed files with 77 additions and 31 deletions
|
|
@ -3,6 +3,7 @@
|
|||
{
|
||||
|
||||
flake.nixosModules.zfs-support =
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
|
|
@ -36,12 +37,6 @@
|
|||
kernelPackages = lib.mkForce latestKernelPackage;
|
||||
# adds zfs support at boot
|
||||
supportedFilesystems = [ "zfs" ];
|
||||
|
||||
# imports zfs pools on host device
|
||||
zfs = {
|
||||
extraPools = [ "orcus" ];
|
||||
forceImportRoot = false;
|
||||
};
|
||||
};
|
||||
|
||||
# adds zfs to system packages
|
||||
|
|
@ -53,4 +48,17 @@
|
|||
# data integrity service
|
||||
services.zfs.autoScrub.enable = true;
|
||||
};
|
||||
|
||||
flake.nixosModules.zfs-hades =
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
zfs = {
|
||||
extraPools = [ "orcus" ];
|
||||
forceImportRoot = false;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue