blob: 08e392dc5ee41943193292b5062a49992be09cd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{ config, lib, pkgs, ... }: {
imports = [ ./hardware-configuration.nix ];
# ZFS bootloader
bootloader.loader = "grub";
bootloader.mode = "efi";
boot.loader.grub = {
zfsSupport = true;
efiInstallAsRemovable = true;
mirroredBoots = [
{ devices = [ "nodev" ]; path = "/boot"; }
];
};
# Disable suspend
suspend.enable = false;
system.stateVersion = "25.05";
}
|