1 { config, lib, pkgs, hostName, ... }:
4 ../../nixos/profiles/acpid.nix
5 ../../nixos/profiles/hardware/thinkpad.nix
6 ../../nixos/profiles/zfs.nix
7 ../../nixos/profiles/zramSwap.nix
13 device = "/dev/disk/by-id/ata-CT250MX500SSD1_2004E2849DD1";
14 configurationLimit = 3;
18 { device = "/dev/disk/by-partlabel/${hostName}_ssd_boot";
21 fileSystems."/boot/efi" =
22 { 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 = [ "ntfs" "vfat" ];
41 boot.extraModulePackages = [
42 #config.boot.kernelPackages.exfat-nofuse
46 { device = "${hostName}/root";
50 { device = "${hostName}/nix";
53 fileSystems."/home/sevy" =
54 { device = "${hostName}/home";
57 fileSystems."/home/sevy/Documents" =
58 { device = "${hostName}/home/Documents";
61 fileSystems."/home/sevy/Images" =
62 { device = "${hostName}/home/Images";
65 fileSystems."/home/sevy/Téléchargements" =
66 { device = "${hostName}/home/Downloads";
69 fileSystems."/home/sevy/.thunderbird" =
70 { device = "${hostName}/home/Mails";
73 fileSystems."/home/sevy/Vidéos" =
74 { device = "${hostName}/home/Videos";
78 { device = "${hostName}/var";
81 fileSystems."/var/cache" =
82 { device = "${hostName}/var/cache";
85 fileSystems."/var/log" =
86 { device = "${hostName}/var/log";
89 fileSystems."/var/tmp" =
90 { device = "${hostName}/var/tmp";