{ lib, self, ... }: { imports = [ ./crans ./services ]; nix = { settings = { experimental-features = [ "flakes" "nix-command" ]; auto-optimise-store = true; }; }; nixpkgs.config = { allowUnfree = true; }; boot.tmp = { useTmpfs = true; cleanOnBoot = true; }; # Version de la flake pour nixos-version --configuration-revision system.configurationRevision = self.rev or self.dirtyRev or "inconnue"; # Recommandé depuis le passage à 26.05 boot.zfs.forceImportAll = lib.mkDefault false; boot.zfs.forceImportRoot = lib.mkDefault false; }