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 = "e18f71a6";
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"
27 "/dev/disk/by-id/mmc-SB32G_0xdb5e2237"
31 { device = "/dev/disk/by-partlabel/losurdo_sd_boot";
35 fileSystems."/boot/efi" =
36 { 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";
51 { device = "losurdo_nvme/root";
56 { device = "losurdo_nvme/home";
60 fileSystems."/home/julm" =
61 { device = "losurdo_nvme/home/julm";
65 fileSystems."/home/julm/work" =
66 { device = "losurdo_nvme/home/julm/work";
71 { device = "losurdo_nvme/nix";
76 { device = "losurdo_nvme/var";
80 fileSystems."/var/cache" =
81 { device = "losurdo_nvme/var/cache";
85 fileSystems."/var/log" =
86 { device = "losurdo_nvme/var/log";
90 fileSystems."/var/tmp" =
91 { device = "losurdo_nvme/var/tmp";