20 lines
553 B
Nix
20 lines
553 B
Nix
{ config, factsGenerator, clanLib, ... }:
|
|
{
|
|
imports = [
|
|
./disko-config.nix
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.tmp.useTmpfs = true; # make /tmp a tmpfs (performance!)
|
|
|
|
boot.supportedFilesystems = [ "zfs" ];
|
|
clan.core.facts.services.zfs = factsGenerator.zfs { };
|
|
networking.hostId = toString config.clan.core.facts.services.zfs.public."zfs.hostId".value;
|
|
services.zfs = {
|
|
autoSnapshot.enable = true;
|
|
autoScrub.enable = true;
|
|
};
|
|
|
|
}
|