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"
26 "/dev/disk/by-id/usb-Generic-_Multi-Card_20071114173400000-0:0"
30 { device = "/dev/disk/by-partlabel/losurdo_sd_boot";
34 fileSystems."/boot/efi" =
35 { device = "/dev/disk/by-partlabel/losurdo_sd_efi";
41 [ { device = "/dev/disk/by-partlabel/losurdo_nvme_swap";
44 cipher = "aes-xts-plain64";
45 source = "/dev/urandom";
52 { device = "losurdo_sd/root";
57 { device = "losurdo_sd/home";
62 { device = "losurdo_sd/nix";
67 { device = "losurdo_sd/var";
71 fileSystems."/var/cache" =
72 { device = "losurdo_sd/var/cache";
76 fileSystems."/var/log" =
77 { device = "losurdo_sd/var/log";
81 fileSystems."/var/tmp" =
82 { device = "losurdo_sd/var/tmp";