1 { pkgs, lib, config, ... }:
7 # The 32-bit host id of the machine, formatted as 8 hexadecimal characters.
8 # You should try to make this id unique among your machines.
9 # Manually generated with : head -c4 /dev/urandom | od -A none -t x4 | cut -d ' ' -f 2
10 networking.hostId = "69c40b03";
13 # Enable the (OpenSolaris-compatible) ZFS auto-snapshotting service.
14 services.zfs.autoSnapshot = {
24 boot.loader.grub.devices = [
25 "/dev/disk/by-id/nvme-Samsung_SSD_970_EVO_Plus_250GB_S4EUNJ0N211426T"
29 { device = "/dev/disk/by-partlabel/losurdo_nvme_boot";
33 fileSystems."/boot/efi" =
34 { device = "/dev/disk/by-partlabel/losurdo_nvme_efi";
39 [ { device = "/dev/disk/by-partlabel/losurdo_nvme_swap";
42 cipher = "aes-xts-plain64";
43 source = "/dev/urandom";
49 { device = "losurdo_nvme/root";
54 { device = "losurdo_nvme/home";
59 { device = "losurdo_nvme/nix";
64 { device = "losurdo_nvme/var";
68 fileSystems."/var/cache" =
69 { device = "losurdo_nvme/var/cache";
73 fileSystems."/var/log" =
74 { device = "losurdo_nvme/var/log";
78 fileSystems."/var/tmp" =
79 { device = "losurdo_nvme/var/tmp";