9 ../../nixos/profiles/hardware/apu6b4.nix
10 ../../nixos/profiles/hardware/ME909u-521.nix
11 ../../nixos/profiles/serial.nix
12 ../../nixos/profiles/zfs.nix
13 ../../nixos/profiles/pipewire.nix
16 # Setting the machine-id avoids to reencrypt all credentials
17 # when reinstalling NixOS on a new drive.
18 # Manually generated with : uuidgen | tr -d -
19 environment.etc.machine-id.source = ./machine-id.clear;
21 # The 32-bit host id of the host, formatted as 8 hexadecimal characters.
22 # You should try to make this id unique among your hosts.
23 # Manually generated with : uuidgen | head -c8
24 networking.hostId = "408a404a";
28 canTouchEfiVariables = true;
29 efiSysMountPoint = "/boot/efi";
35 #"/dev/disk/by-id/mmc-SU08G_0xb0320f0f"
36 #"/dev/disk/by-id/usb-Generic-_Multi-Card_20071114173400000-0:0"
37 "/dev/disk/by-id/ata-YMTC_JGS_2201060101833"
39 configurationLimit = 9;
43 #enableCryptodisk = true;
46 boot.supportedFilesystems = [
50 boot.extraModulePackages = [
51 #config.boot.kernelPackages.exfat-nofuse
53 boot.zfs.requestEncryptionCredentials = [ hostName ];
55 hardware.enableRedistributableFirmware = true;
57 powerManagement.powertop.enable = true;
59 #services.fprintd.enable = true;
62 device = "${hostName}/root";
65 fileSystems."/boot" = {
66 device = "/dev/disk/by-partlabel/${hostName}_ssd_boot";
69 fileSystems."/boot/efi" = {
70 device = "/dev/disk/by-partlabel/${hostName}_ssd_efi";
73 fileSystems."/nix" = {
74 device = "${hostName}/nix";
77 fileSystems."/var" = {
78 device = "${hostName}/var";
81 fileSystems."/home" = {
82 device = "${hostName}/home";
87 device = "/dev/disk/by-partlabel/${hostName}_ssd_swap";
90 cipher = "aes-xts-plain64";
91 source = "/dev/urandom";