diff options
author | Nick Van Doorn <nick@nvandoorn.com> | 2023-05-31 21:43:00 +0000 |
---|---|---|
committer | Nick Van Doorn <nick@nvandoorn.com> | 2023-05-31 21:43:00 +0000 |
commit | f527aefa6af911fc456451f81c3f16023d996e59 (patch) | |
tree | e86e8b2784980f9aecd02455c7aca0d4a913f190 | |
parent | 23c71c613a764dc4ac2cb151c549fab71ea93590 (diff) |
Add ZFS support
Time for an upgrade
-rw-r--r-- | configuration.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix index 6cd4a3b..7354601 100644 --- a/configuration.nix +++ b/configuration.nix @@ -16,6 +16,10 @@ # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + boot.supportedFilesystems = ["zfs"]; + boot.zfs.forceImportRoot = false; + boot.zfs.extraPools = ["pool"]; + services.zfs.autoScrub.enable = true; networking.hostName = "vandoorn-server"; # Define your hostname. networking.hostId = "0f647db6"; |