4 ../../nixos/profiles/hardware/X200.nix
5 ../../nixos/profiles/zfs.nix
10 memtest86.enable = true;
11 device = "/dev/disk/by-id/ata-CT250MX500SSD1_2004E2849DD1";
12 configurationLimit = 3;
14 boot.zfs.requestEncryptionCredentials = [ hostName ];
16 fileSystems."/boot" = {
17 device = "/dev/disk/by-partlabel/${hostName}_ssd_boot";
20 fileSystems."/boot/efi" = {
21 device = "/dev/disk/by-partlabel/${hostName}_ssd_efi";
26 device = "/dev/disk/by-partlabel/${hostName}_ssd_swap";
29 cipher = "aes-xts-plain64";
30 source = "/dev/urandom";
35 # The 32-bit host id of the host, formatted as 8 hexadecimal characters.
36 # You should try to make this id unique among your hosts.
37 # Manually generated with : head -c4 /dev/urandom | od -A none -t x4 | cut -d ' ' -f 2
38 networking.hostId = "ec2adb40";
40 boot.supportedFilesystems = [
44 boot.extraModulePackages = [
45 #config.boot.kernelPackages.exfat-nofuse
48 powerManagement.powertop.enable = true;
51 device = "${hostName}/root";
54 fileSystems."/nix" = {
55 device = "${hostName}/nix";
58 fileSystems."/home/sevy" = {
59 device = "${hostName}/home";
62 fileSystems."/home/sevy/Documents" = {
63 device = "${hostName}/home/Documents";
66 fileSystems."/home/sevy/Images" = {
67 device = "${hostName}/home/Images";
70 fileSystems."/home/sevy/Téléchargements" = {
71 device = "${hostName}/home/Downloads";
74 fileSystems."/home/sevy/.thunderbird" = {
75 device = "${hostName}/home/Mails";
78 fileSystems."/home/sevy/Vidéos" = {
79 device = "${hostName}/home/Videos";
82 fileSystems."/var" = {
83 device = "${hostName}/var";
86 fileSystems."/var/cache" = {
87 device = "${hostName}/var/cache";
90 fileSystems."/var/log" = {
91 device = "${hostName}/var/log";
94 fileSystems."/var/tmp" = {
95 device = "${hostName}/var/tmp";