This commit is contained in:
Sicheng Pan 2025-12-14 13:54:53 -08:00
parent 16c57c5967
commit 4f2b849e10
Signed by: macronova
GPG key ID: CE969670FB4B4A56
8 changed files with 45 additions and 90 deletions

View file

@ -1,10 +1,9 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running `nixos-help`).
{pkgs, ...}: {
{...}: {
# Configure boot loader
boot = {
kernelPackages = pkgs.linuxPackages_latest;
loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;

View file

@ -1,8 +1,5 @@
{pkgs, ...}: {
boot = {
loader.grub.zfsSupport = true;
zfs.package = pkgs.zfs_unstable;
};
{...}: {
boot.loader.grub.zfsSupport = true;
services.zfs = {
autoScrub.enable = true;